Commit 93ccf3f2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Chanwoo Choi
Browse files

extcon: axp288: Fix wakeup source leaks on device unbind

parent 78b6a991
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -470,7 +470,7 @@ static int axp288_extcon_probe(struct platform_device *pdev)
	if (ret < 0)
		return ret;

	device_init_wakeup(dev, true);
	devm_device_init_wakeup(dev);
	platform_set_drvdata(pdev, info);

	return 0;