diff options
| author | Svyatoslav Ryhel <clamor95@gmail.com> | 2026-07-31 14:36:22 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-09-10 14:59:57 +0100 |
| commit | f6420210fbaf563de34c769f4a408790523bc36c (patch) | |
| tree | 41153b51d0be8456d8614e33eb76be0fc6fd0205 /include/linux | |
| parent | 06ea59b4135ed6c999bc33daca1abf51071f5f53 (diff) | |
mfd: lm3533: Pass only regmap and light sensor presence to child devices
Instead of passing the entire lm3533 core data structure, only pass the
regmap and the light sensor presence flag to child devices.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Acked-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> #for-iio
Link: https://patch.msgid.link/20260731113632.158440-5-clamor95@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/lm3533.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h index c4c38876c09b..74cfb52c3bd1 100644 --- a/include/linux/mfd/lm3533.h +++ b/include/linux/mfd/lm3533.h @@ -33,7 +33,7 @@ struct lm3533 { }; struct lm3533_ctrlbank { - struct lm3533 *lm3533; + struct regmap *regmap; struct device *dev; int id; }; |
