summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/st_gyro_i2c.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-11-19 01:37:09 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 23:01:41 +0300
commitb97db5284e9ae169de79f78c3f09514d661407a7 (patch)
treebfe919c61f650f3b5d78204458fe588d41dee853 /drivers/iio/gyro/st_gyro_i2c.c
parent8312841060b8bc4b463dcf6a2cb8cc2452c6ac8f (diff)
downloadlinux-b97db5284e9ae169de79f78c3f09514d661407a7.tar.xz
iio: gyro: mpu3050-i2c: Convert to i2c's .probe_new()
.probe_new() doesn't get the i2c_device_id * parameter, so determine that explicitly in the probe function. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20221118224540.619276-96-uwe@kleine-koenig.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/st_gyro_i2c.c')
0 files changed, 0 insertions, 0 deletions