iio: accel: kionix-kx022a: Warn on failed matches and assume compatibility
authorMehdi Djait <mehdi.djait.k@gmail.com>
Sat, 16 Sep 2023 12:38:49 +0000 (14:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 17 Sep 2023 09:37:36 +0000 (10:37 +0100)
commit8abacef3b7fb6dd7054c0b327390ae8e1087f9e5
treea3e1ada094488a7f5ac74effc388cbef67ec73ad
parentcfdb1e2875321bdda0a8f0246bcf1d3cbfdd0b09
iio: accel: kionix-kx022a: Warn on failed matches and assume compatibility

Avoid error returns on a failure to match and instead just warn with
assumption that we have a correct dt-binding telling us that
some new device with a different ID is backwards compatible.

Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com>
Link: https://lore.kernel.org/r/b587cfec2f3350623277005f62121864bee857c7.1694867379.git.mehdi.djait.k@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/kionix-kx022a.c