Commit 6f982d55 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Chanwoo Choi
Browse files

extcon: fsa9480: Fix wakeup source leaks on device unbind

parent 93ccf3f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;