summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/bh1750.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/bh1750.c')
-rw-r--r--drivers/iio/light/bh1750.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c
index 390c5b3ad4f6..4b869fa9e5b1 100644
--- a/drivers/iio/light/bh1750.c
+++ b/drivers/iio/light/bh1750.c
@@ -320,7 +320,7 @@ static struct i2c_driver bh1750_driver = {
.of_match_table = bh1750_of_match,
.pm = pm_sleep_ptr(&bh1750_pm_ops),
},
- .probe_new = bh1750_probe,
+ .probe = bh1750_probe,
.remove = bh1750_remove,
.id_table = bh1750_id,