Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58f38656 authored by Chanwoo Choi's avatar Chanwoo Choi
Browse files

extcon: Add resource-managed functions to register extcon notifier



This patch adds the resource-managed functions for register/unregister
the extcon notifier with the id of each external connector. This function
will make it easy to handle the extcon notifier.

- int devm_extcon_register_notifier(struct device *dev,
				struct extcon_dev *edev, unsigned int id,
				struct notifier_block *nb);
- void devm_extcon_unregister_notifier(struct device *dev,
				struct extcon_dev *edev, unsigned int id,
				struct notifier_block *nb);

Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent b225d00f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment