summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2021-09-28 11:22:40 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-10-12 16:22:40 +0200
commitb7792f3ea3924a3534e392c1d9125fdc93a60d70 (patch)
tree9809b563f60877bb591b26ed782767f5b4d691d4 /kernel/power
parenthwmon: (pmbus/lm25066) Mark lm25066_coeff array const (diff)
downloadlinux-b7792f3ea3924a3534e392c1d9125fdc93a60d70.tar.xz
linux-b7792f3ea3924a3534e392c1d9125fdc93a60d70.zip
hwmon: (pmbus/lm25066) Add OF device ID table
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:<device>. But this could change in the future so the correct approach is to have an OF device ID table if the devices are registered via OF. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20210928092242.30036-7-zev@bewilderbeest.net [groeck: Replaced reference to reasoning with reasoning, fixed checkpatch warnings, fixed compile warning comparing of_id->data w/ i2c_id->driver_data] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions