]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: light: al3010: Implement regmap support
authorDavid Heidelberg <david@ixit.cz>
Wed, 2 Apr 2025 19:33:27 +0000 (21:33 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:57 +0000 (19:09 +0100)
commit0e5e21e23dd6ca4aaf96c99726230110b1a0b448
tree81c5227cba031aa7654268550482f45e5a9c80ab
parentb8154f3477c46453c8be3257d194cf5fdf5b5a23
iio: light: al3010: Implement regmap support

Modernize and clean up the driver using the regmap framework.

With the regmap implementation, the compiler produces
a significantly smaller module.

Size before: 72 kB
Size after:  58 kB

Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://patch.msgid.link/20250402-al3010-iio-regmap-v4-4-d189bea87261@ixit.cz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/al3010.c