iio: light: cm32181: Switch to new style i2c-driver probe function
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Apr 2020 17:29:13 +0000 (19:29 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 10 May 2020 09:35:28 +0000 (10:35 +0100)
commit067704540dcac6dab267cec0eb3b625f81b508ab
tree7373a9a15de75cad9077c9c71e5572689927305f
parent067fda1c065ff5655fcd2600f4b9f72a6ab5b7d9
iio: light: cm32181: Switch to new style i2c-driver probe function

Switch to the new style i2c-driver probe_new probe function and drop the
unnecessary i2c_device_id table (we do not have any old style board files
using this).

This is a preparation patch for adding ACPI binding support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/cm32181.c