summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-fsa9480.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/extcon/extcon-fsa9480.c')
-rw-r--r--drivers/extcon/extcon-fsa9480.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-fsa9480.c b/drivers/extcon/extcon-fsa9480.c
index b11b43171063..a031eb0914a0 100644
--- a/drivers/extcon/extcon-fsa9480.c
+++ b/drivers/extcon/extcon-fsa9480.c
@@ -317,7 +317,7 @@ static int fsa9480_probe(struct i2c_client *client)
return ret;
}
- device_init_wakeup(info->dev, true);
+ devm_device_init_wakeup(info->dev);
fsa9480_detect_dev(info);
return 0;