]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: al3010: Abstract device reference in the probe function
authorDavid Heidelberg <david@ixit.cz>
Wed, 19 Mar 2025 20:59:44 +0000 (21:59 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:53 +0000 (19:09 +0100)
commit861cc66854d611627649b2522c49914e09ddc026
tree0c436840261718178cbd56031b146e60b1796e88
parentdd3f76931e718663a8312ce65433c81c171808fb
iio: light: al3010: Abstract device reference in the probe function

Introduce a local variable reducing redundancy and improving readability.

No functional changes.

Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://patch.msgid.link/20250319-al3010-iio-regmap-v2-5-1310729d0543@ixit.cz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/al3010.c