linux/drivers/extcon
Donggeun Kim 74c5d09bd5 Extcon: support notification based on the state changes.
State changes of extcon devices have been notified via kobjet_uevent.
This patch adds notifier interfaces in order to allow device drivers to
get notified easily. Along with notifier interface,
extcon_get_extcon_dev() function is added so that device drivers may
discover a extcon_dev easily.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

--
Changes from RFC
- Renamed switch to extcon
- Bugfix: extcon_dev_unregister()
- Bugfix: "edev->dev" is "internal" data.
- Added kerneldoc comments.
- Reworded comments.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-20 09:23:09 -07:00
..
extcon_class.c Extcon: support notification based on the state changes. 2012-04-20 09:23:09 -07:00
extcon_gpio.c Extcon: support generic GPIO extcon driver 2012-04-20 09:22:02 -07:00
Kconfig Extcon: support generic GPIO extcon driver 2012-04-20 09:22:02 -07:00
Makefile Extcon: support generic GPIO extcon driver 2012-04-20 09:22:02 -07:00