iio: accel: dmard06: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 23 Oct 2022 13:22:46 +0000 (15:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 19:44:02 +0000 (19:44 +0000)
commit72907238b193be0fc18f2859b7f4c6741b73aedc
tree86dd0b523832d5dff1ac79ae672feaa5107abfa3
parenta9e38f1ecc461c43aa26849394c552e38593ad38
iio: accel: dmard06: Convert to i2c's .probe_new()

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221023132302.911644-8-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/dmard06.c