From: Nuno Sá Date: Tue, 1 Jul 2025 14:31:59 +0000 (+0100) Subject: mfd: adp5585: Make use of MFD_CELL_NAME() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6545bdb1b7681da7edb6a34bed4be5e7f41cf52;p=thirdparty%2Fkernel%2Flinux.git mfd: adp5585: Make use of MFD_CELL_NAME() Use the helper macro. No functional change intended... Whilst we're at it, now seems like a good time to update the Copyright. Reviewed-by: Laurent Pinchart Signed-off-by: Nuno Sá Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-4-b1fcfe9e9826@analog.com Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/adp5585.c b/drivers/mfd/adp5585.c index e4a75ae9b2696..c764f48187583 100644 --- a/drivers/mfd/adp5585.c +++ b/drivers/mfd/adp5585.c @@ -4,6 +4,7 @@ * * Copyright 2022 NXP * Copyright 2024 Ideas on Board Oy + * Copyright 2025 Analog Devices Inc. */ #include @@ -24,8 +25,8 @@ enum { }; static const struct mfd_cell adp5585_devs[ADP5585_DEV_MAX] = { - { .name = "adp5585-gpio", }, - { .name = "adp5585-pwm", }, + MFD_CELL_NAME("adp5585-gpio"), + MFD_CELL_NAME("adp5585-pwm"), }; static const struct regmap_range adp5585_volatile_ranges[] = {