]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: Rohm PMICs: Use platform_device_id to match MFD sub-devices
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 20 Jan 2020 13:42:38 +0000 (15:42 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Jan 2020 07:21:48 +0000 (07:21 +0000)
commit1b1c26b24a6e75d96967515e55fba6c9954d4009
tree300e60a45b567715f6baf5e79ce2ff0659854dbf
parent1af5332fcf7c7f29eef55a2304b9ca4e5d09050c
mfd: Rohm PMICs: Use platform_device_id to match MFD sub-devices

Thanks to Stephen Boyd I today learned we can use platform_device_id
to do device and module matching for MFD sub-devices!

Do device matching using the platform_device_id instead of using
explicit module_aliases to load modules and custom parent-data field
to do module loading and sub-device matching.

Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/clk/clk-bd718x7.c
drivers/mfd/rohm-bd70528.c
drivers/mfd/rohm-bd718x7.c
drivers/regulator/bd718x7-regulator.c
include/linux/mfd/rohm-generic.h