[PATCH 0/8] Resource-managed extcon device register function

Sangjung Woo
2014-04-16T10:27:06Z

These patches add resource-managed extcon device register functions for
developers' convenience and apply them to related device driver files.
This work can make the code more tidy since extcon device is automatically
unregistered on driver detach so tiresome managing codes could be removed.

Sangjung Woo (8):
extcon: Add resource-managed extcon register function
extcon: adc-jack: Use devm_extcon_dev_register()
extcon: gpio: Use devm_extcon_dev_register()
extcon: max14577: Use devm_extcon_dev_register()
extcon: max77693: Use devm_extcon_dev_register()
extcon: max8997: Use devm_extcon_dev_register()
extcon: palmas: Use devm_extcon_dev_register()
extcon: arizona: Use devm_extcon_dev_register()

drivers/extcon/extcon-adc-jack.c | 30 +++++---------
drivers/extcon/extcon-arizona.c | 13 ++----
drivers/extcon/extcon-class.c | 83 ++++++++++++++++++++++++++++++++++++++
drivers/extcon/extcon-gpio.c | 16 ++------
drivers/extcon/extcon-max14577.c | 9 +----
drivers/extcon/extcon-max77693.c | 7 +---
drivers/extcon/extcon-max8997.c | 4 +-
drivers/extcon/extcon-palmas.c | 15 +++----
include/linux/extcon.h | 8 ++++
9 files changed, 118 insertions(+), 67 deletions(-)

--
1.7.9.5