summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lp8788-irq.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-19 20:51:10 +0100
committerLee Jones <lee@kernel.org>2024-02-23 17:27:13 +0100
commit3cb10854004d2cb9c8f3a33deeeb499d0e0c7120 (patch)
treebc1425521c2a3197a07c547e456dd7a9f9489195 /drivers/mfd/lp8788-irq.c
parentmfd: rk8xx-core: Fix interrupt processing order for power key button (diff)
downloadlinux-3cb10854004d2cb9c8f3a33deeeb499d0e0c7120.tar.xz
linux-3cb10854004d2cb9c8f3a33deeeb499d0e0c7120.zip
mfd: core: Constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the mfd_dev_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net> Link: https://lore.kernel.org/r/20240219-device_cleanup-mfd-v1-1-e4eef5ed2da8@marliere.net Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/lp8788-irq.c')
0 files changed, 0 insertions, 0 deletions