summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/devres.c
Commit message (Collapse)AuthorAgeFilesLines
* extcon: Add resource-managed functions to register extcon notifierChanwoo Choi2016-06-271-0/+73
| | | | | | | | | | | | | | | 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: Chanwoo Choi <cw00.choi@samsung.com>
* extcon: Split out the resource-managed functions from extcon coreChanwoo Choi2016-06-271-0/+143
This patch split out the resource-managed related functions from extcon core driver. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
OpenPOWER on IntegriCloud