]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf17cd51b7e8df010f3b0170c1a77b6d2328b853
tree7373a9a15de75cad9077c9c71e5572689927305f
parent025d76c0709746107bea90705c8a389ff46b1b21
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