summaryrefslogtreecommitdiff
path: root/scripts/syscalltbl.sh
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2024-06-26 18:00:09 +0200
committerLee Jones <lee@kernel.org>2024-06-26 17:08:30 +0100
commitdb30c2891bfc74acb8823edee5f39cbc36bd9a4d (patch)
treedc5c978901b4d70f55f2703ca574ba4ea159dc06 /scripts/syscalltbl.sh
parenta9b202b9cf0e817be756a720920ad4b522e6f6aa (diff)
downloadlwn-db30c2891bfc74acb8823edee5f39cbc36bd9a4d.tar.gz
lwn-db30c2891bfc74acb8823edee5f39cbc36bd9a4d.zip
leds: leds-lp55xx: Generalize probe/remove functions
Now that stop_all_engine is generalized, probe and remove function are the same across every lp55xx based LED driver and can be generalized. To permit to use a common probe, make use of the OF match_data and i2c driver_data value to store the device_config struct specific for the LED. Also drop the now unused exported symbol in lp55xx-common and make them static. Update any lp55xx based LED driver to use the new generic probe/remove. Suggested-by: Lee Jones <lee@kernel.org> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://lore.kernel.org/r/20240626160027.19703-5-ansuelsmth@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/syscalltbl.sh')
0 files changed, 0 insertions, 0 deletions