Re: [PATCH v3 04/10] mfd: intel_soc_pmic_crc: Use devm_regmap_add_irq_chip()

From: Lee Jones
Date: Mon Aug 08 2022 - 12:12:21 EST


On Mon, 01 Aug 2022, Andy Shevchenko wrote:

> Use devm_regmap_add_irq_chip() to simplify the code.
>
> While at it, replace -1 magic parameter by PLATFORM_DEVID_NONE when
> calling mfd_add_devices().
>
> Note, the mfd_add_devices() left in non-devm variant here due to
> potentially increased churn while wrapping pwm_remove_table().
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Tested-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
>
> v3: no changes
> v2: added tags and rebased on top of new patch 1
>
> drivers/mfd/intel_soc_pmic_crc.c | 20 +++++---------------
> 1 file changed, 5 insertions(+), 15 deletions(-)

Applied, thanks.

--
DEPRECATED: Please use lee@xxxxxxxxxx