diff options
author | Darshana Padmadas <darshanapadmadas@gmail.com> | 2014-11-08 17:22:07 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-11-20 11:20:26 (GMT) |
commit | 2dcb7efa120a8d8f625001d6c7cd78aa38c411a7 (patch) | |
tree | c4c423427bd4ca333fc1ce427c9d220ec5581de6 /drivers/staging/iio/light | |
parent | 7c75c1d5e72be6736aa558efd33ca2b31d77e425 (diff) | |
download | linux-2dcb7efa120a8d8f625001d6c7cd78aa38c411a7.tar.xz |
Staging: iio: light: Added correct vendor-prefix for device isl29028
This patch adds the correct vendor-prefix for device isl29028 and
maintains deprecated vendor-prefix found by checkpatch warning
for older kernel releases.
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/staging/iio/light')
-rw-r--r-- | drivers/staging/iio/light/isl29028.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index 6014625..e969107 100644 --- a/drivers/staging/iio/light/isl29028.c +++ b/drivers/staging/iio/light/isl29028.c @@ -537,7 +537,8 @@ static const struct i2c_device_id isl29028_id[] = { MODULE_DEVICE_TABLE(i2c, isl29028_id); static const struct of_device_id isl29028_of_match[] = { - { .compatible = "isil,isl29028", }, + { .compatible = "isl,isl29028", }, + { .compatible = "isil,isl29028", },/* deprecated, don't use */ { }, }; MODULE_DEVICE_TABLE(of, isl29028_of_match); |