]> www.infradead.org Git - users/willy/xarray.git/commit
iio: light: stk3310: relax chipid check warning
authorKaustabh Chakraborty <kauschluss@disroot.org>
Fri, 26 Jul 2024 18:53:31 +0000 (00:23 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:44 +0000 (10:13 +0100)
commitb3508a2ba521c3bf51a58eeda125370d44364452
tree754763b3bbb185b1e361b0c084529f788715b304
parent02e0a02c5685dfe6a4bf6aac65759039a61bbd85
iio: light: stk3310: relax chipid check warning

In order to allow newer devices which are compatible with existing
sensors, issuing a warning for an unknown chipid indicates that
something has gone wrong with the init process, which isn't ideal.
Swap it with a friendlier info message to get things right.

Suggested-by: Conor Dooley <conor@kernel.org>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20240727-stk3310-v4-1-02497b1407ba@disroot.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/stk3310.c