summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <clamor95@gmail.com>2026-07-31 14:36:22 +0300
committerLee Jones <lee@kernel.org>2026-09-10 14:59:57 +0100
commitf6420210fbaf563de34c769f4a408790523bc36c (patch)
tree41153b51d0be8456d8614e33eb76be0fc6fd0205 /include
parent06ea59b4135ed6c999bc33daca1abf51071f5f53 (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')
-rw-r--r--include/linux/mfd/lm3533.h2
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;
};