Commit adf91d9e authored by André Draszik's avatar André Draszik Committed by Lee Jones
Browse files

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: default avatarAndré Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-18-d66d5f39b6bf@linaro.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent aaaeae7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment