]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sec: Change device_type to int
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 9 Apr 2025 20:37:39 +0000 (21:37 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:44 +0000 (08:48 +0100)
commitadf91d9e1983dec3d5fabc273e8ff89918b852c1
treed779a5e98468f47a4b9e0e6d3c078e21250d206f
parentaaaeae7e2ad1574fad3c68e249f02fa87a600516
mfd: sec: Change device_type to int

Now that sec-i2c doesn't match device type by pointer casting anymore,
we can switch the device type from unsigned long to int easily.

This saves a few bytes in struct sec_pmic_dev due to member alignment.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-18-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sec-common.c
drivers/mfd/sec-core.h
drivers/mfd/sec-i2c.c
drivers/mfd/sec-irq.c
include/linux/mfd/samsung/core.h