aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2025-07-01 15:31:59 +0100
committerLee Jones <lee@kernel.org>2025-07-01 21:50:50 +0100
commite6545bdb1b7681da7edb6a34bed4be5e7f41cf52 (patch)
treedb9acab648538adeb65258e39732186df244ad36
parentmfd: adp5585: Enable oscillator during probe (diff)
downloadlinux-e6545bdb1b7681da7edb6a34bed4be5e7f41cf52.tar.gz
linux-e6545bdb1b7681da7edb6a34bed4be5e7f41cf52.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-4-b1fcfe9e9826@analog.com Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r--drivers/mfd/adp5585.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mfd/adp5585.c b/drivers/mfd/adp5585.c
index e4a75ae9b269..c764f4818758 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 <linux/array_size.h>
@@ -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[] = {