summaryrefslogtreecommitdiff
path: root/drivers/mfd/Makefile
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-11-26 21:21:57 +0000
committerMark Brown <broonie@kernel.org>2025-11-26 21:21:57 +0000
commitc67bb84434b024fa2ae83f91bbd02457f2d2c8a6 (patch)
treef6bd8c747bcf241fc8c65df75b83cf6dbef93190 /drivers/mfd/Makefile
parentfba27fe5aaf14e2aae1649a14309b77de2c9546c (diff)
parent6341646f7225343f57c8cbcb6a4d25b3270f4111 (diff)
downloadlinux-next-c67bb84434b024fa2ae83f91bbd02457f2d2c8a6.tar.gz
linux-next-c67bb84434b024fa2ae83f91bbd02457f2d2c8a6.zip
regulator: Use container_of_const() when all types are
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>: Use container_of_const(), which is preferred over container_of(), when the argument 'ptr' and returned pointer are already const, for better code safety and readability. Some drivers already have const everywhere, so container_of_const can be directly used. In few other drivers, the final pointer can be constified that way.
Diffstat (limited to 'drivers/mfd/Makefile')
-rw-r--r--drivers/mfd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 865e9f12faff..566952f191b5 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -122,6 +122,8 @@ obj-$(CONFIG_MFD_MC13XXX) += mc13xxx-core.o
obj-$(CONFIG_MFD_MC13XXX_SPI) += mc13xxx-spi.o
obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o
+obj-$(CONFIG_MFD_PF1550) += pf1550.o
+
obj-$(CONFIG_MFD_NCT6694) += nct6694.o
obj-$(CONFIG_MFD_CORE) += mfd-core.o