summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon.c
AgeCommit message (Collapse)Author
2015-03-23extcon: Fix missing locking when [un]registering notifiersHans de Goede
Since extcon.c is using raw_notifiers it must protect the notifier list itself when [un]registering notifiers to avoid the list changing while extcon_update_state is walking the list (through raw_notifier_call_chain). Signed-off-by: Hans de Goede <hdegoede@redhat.com> [cw00.choi: Apply this patch to extcon.c driver instead of old extcon-class.c] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2015-03-07extcon: Fix the checkpatch warningChanwoo Choi
This patch fixes the checkpatch warning about coding style. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2015-03-07extcon: Rename extcon core driverChanwoo Choi
This patch renames the extcon core driver from extcon-class.c to extcon.c because '-class' postfix is not necessary. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>