From: Darshana Padmadas Date: Sat, 8 Nov 2014 17:22:07 +0000 (+0530) Subject: Staging: iio: light: Added correct vendor-prefix for device isl29028 X-Git-Tag: firefly_0821_release~176^2~2656^2~9 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2dcb7efa120a8d8f625001d6c7cd78aa38c411a7;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Arnd Bergmann Acked-by: Mark Rutland Acked-by: Jonathan Cameron Signed-off-by: Arnd Bergmann --- diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index 6014625920b0..e969107ddb47 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);