]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: stk3310: make chip id check expandable
authorBarnabás Czémán <trabarni@gmail.com>
Tue, 21 May 2024 15:34:52 +0000 (17:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Jun 2024 18:53:06 +0000 (19:53 +0100)
commit745712c7bb1f8eaf00cf3b5a49c3c13bd7805597
treeb0bdff719a96874f661740ea163d88baa51809f9
parent709aeedcc7cfadb2f9c3ac29b0cda337c6b57b7d
iio: light: stk3310: make chip id check expandable

Modify chip id check for support easier additions
for compatible variants.

Signed-off-by: Barnabás Czémán <trabarni@gmail.com>
Link: https://lore.kernel.org/r/20240521-stk3311-v1-2-07a4966b355a@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/stk3310.c