Skip to content

Commit

Permalink
Staging: iio: light: Added correct vendor-prefix for device isl29028
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
darshanapdas authored and arndb committed Nov 20, 2014
1 parent 7c75c1d commit 2dcb7ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/iio/light/isl29028.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2dcb7ef

Please sign in to comment.