summaryrefslogtreecommitdiff
path: root/drivers/iio/light/rohm-bu27034.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/rohm-bu27034.c')
-rw-r--r--drivers/iio/light/rohm-bu27034.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/light/rohm-bu27034.c b/drivers/iio/light/rohm-bu27034.c
index f85194fda6b0..e63ef5789cde 100644
--- a/drivers/iio/light/rohm-bu27034.c
+++ b/drivers/iio/light/rohm-bu27034.c
@@ -1500,8 +1500,9 @@ static struct i2c_driver bu27034_i2c_driver = {
.driver = {
.name = "bu27034-als",
.of_match_table = bu27034_of_match,
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
- .probe_new = bu27034_probe,
+ .probe = bu27034_probe,
};
module_i2c_driver(bu27034_i2c_driver);