staging:iio:cdc:ad7150: Add of_match_table
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Mar 2021 18:15:07 +0000 (18:15 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:37 +0000 (08:36 +0100)
commit89f2d5b080bc28f9b2f4b9a9b8f4ab594b63cdf6
tree2d678a06813b496c20647334d858babbfae6cc02
parenta9f8afe16412bc388a81269387d28c7319cb2c9e
staging:iio:cdc:ad7150: Add of_match_table

Rather than using the fallback path in the i2c subsystem and hoping
for no clashes across vendors, lets put in an explicit table for
matching.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Reviewed-by: Barry Song <song.bao.hua@hisilicon>
Link: https://lore.kernel.org/r/20210314181511.531414-21-jic23@kernel.org
drivers/staging/iio/cdc/ad7150.c