Re: [PATCH v6 04/15] mfd: rohm PMICs - use platform_device_id to match MFD sub-devices

From: Lee Jones
Date: Mon Dec 16 2019 - 11:41:25 EST


On Wed, 11 Dec 2019, Matti Vaittinen wrote:

> 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.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> ---
>
> No changes since v5
>
> drivers/clk/clk-bd718x7.c | 12 ++++++++-
> drivers/regulator/bd718x7-regulator.c | 17 +++++++++---

> drivers/mfd/rohm-bd70528.c | 3 +--
> drivers/mfd/rohm-bd718x7.c | 39 ++++++++++++++++++++++-----
> include/linux/mfd/rohm-generic.h | 3 +--

For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog