summaryrefslogtreecommitdiff
path: root/drivers/regulator/rtq2134-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/rtq2134-regulator.c')
-rw-r--r--drivers/regulator/rtq2134-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/rtq2134-regulator.c b/drivers/regulator/rtq2134-regulator.c
index 8e13dea354a2..b7372cb2b97d 100644
--- a/drivers/regulator/rtq2134-regulator.c
+++ b/drivers/regulator/rtq2134-regulator.c
@@ -363,9 +363,10 @@ MODULE_DEVICE_TABLE(of, rtq2134_device_tables);
static struct i2c_driver rtq2134_driver = {
.driver = {
.name = "rtq2134",
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = rtq2134_device_tables,
},
- .probe_new = rtq2134_probe,
+ .probe = rtq2134_probe,
};
module_i2c_driver(rtq2134_driver);