Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Nuno Sá and committed by
Lee Jones
e6545bdb e5517601

+3 -2
+3 -2
drivers/mfd/adp5585.c
··· 4 4 * 5 5 * Copyright 2022 NXP 6 6 * Copyright 2024 Ideas on Board Oy 7 + * Copyright 2025 Analog Devices Inc. 7 8 */ 8 9 9 10 #include <linux/array_size.h> ··· 25 24 }; 26 25 27 26 static const struct mfd_cell adp5585_devs[ADP5585_DEV_MAX] = { 28 - { .name = "adp5585-gpio", }, 29 - { .name = "adp5585-pwm", }, 27 + MFD_CELL_NAME("adp5585-gpio"), 28 + MFD_CELL_NAME("adp5585-pwm"), 30 29 }; 31 30 32 31 static const struct regmap_range adp5585_volatile_ranges[] = {