Skip to content
  • Chanwoo Choi's avatar
    extcon: Add resource-managed functions to register extcon notifier · 58f38656
    Chanwoo Choi authored
    
    
    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>
    58f38656