iio: potentiometer: mcp4018: switch to using .probe_new
authorPeter Rosin <peda@axentia.se>
Wed, 11 Apr 2018 12:49:14 +0000 (14:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 17:09:47 +0000 (18:09 +0100)
commit0f6f400e6980b2eb675289fd0296f916dd4cb0f0
treef8f05753272e20a40347fabee615a506cb7e7143
parent4efa1a0050eba411cd0b5b6714d6b89cdcb128f7
iio: potentiometer: mcp4018: switch to using .probe_new

Use the new probe style for i2c drivers.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiometer/mcp4018.c