]> git.baikalelectronics.ru Git - kernel.git/commit
IIO: st_accel_i2c.c: Use probe_new() instead of probe()
authorNikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Tue, 3 Jul 2018 06:06:57 +0000 (08:06 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Jul 2018 16:33:18 +0000 (17:33 +0100)
commitd51897e461c35d6257e48f969b7674dc75bdb8d8
tree5699e78176fe60a7334067433ef7e157cb89612a
parentac382723d337e781e342ed7b5249d4ea94184742
IIO: st_accel_i2c.c: Use probe_new() instead of probe()

struct i2c_device_id argument of probe() is not used, so use probe_new()
instead.

Signed-off-by: Nikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_i2c.c