summaryrefslogtreecommitdiff
path: root/drivers/iio/light/bh1780.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/bh1780.c')
-rw-r--r--drivers/iio/light/bh1780.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/light/bh1780.c b/drivers/iio/light/bh1780.c
index b84166c5fa06..475f44954f61 100644
--- a/drivers/iio/light/bh1780.c
+++ b/drivers/iio/light/bh1780.c
@@ -256,8 +256,8 @@ static DEFINE_RUNTIME_DEV_PM_OPS(bh1780_dev_pm_ops, bh1780_runtime_suspend,
bh1780_runtime_resume, NULL);
static const struct i2c_device_id bh1780_id[] = {
- { "bh1780", 0 },
- { },
+ { "bh1780" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, bh1780_id);