]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: al3320a: Implement regmap support
authorDavid Heidelberg <david@ixit.cz>
Wed, 2 Apr 2025 19:33:28 +0000 (21:33 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:57 +0000 (19:09 +0100)
commit1850e6ae7f91135d9224f58d5944ba2fd29261fc
tree8534bfd736376610a252ef375d545b0a4c7c41c5
parent0e5e21e23dd6ca4aaf96c99726230110b1a0b448
iio: light: al3320a: 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-5-d189bea87261@ixit.cz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/al3320a.c