iio: potentiometer: mcp4531: switch to using .probe_new
authorPeter Rosin <peda@axentia.se>
Wed, 11 Apr 2018 12:49:15 +0000 (14:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 17:12:51 +0000 (18:12 +0100)
commitc18af98bc875e8f2be99aad13b410f60d34064cf
treec45d84da2499f4073d4bcb880e218ca0b2a6cd23
parent0f6f400e6980b2eb675289fd0296f916dd4cb0f0
iio: potentiometer: mcp4531: 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/mcp4531.c