extcon: Add extcon_get_edev_name() API to get the extcon device name
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Apr 2015 04:57:51 +0000 (13:57 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 May 2015 07:39:04 +0000 (16:39 +0900)
commit707d7550875a9bd245ce5f1077d2d2cb44eab218
tree22476cb6161ab33949c852836fb1329c65f77ac9
parent71c3ffa5d23af0554c27010cf12710da9bf85950
extcon: Add extcon_get_edev_name() API to get the extcon device name

This patch adds the extcon_get_edev_name() API to get the name of extcon device
because all information inclued in the structure extcon_dev should be accessed
by extcon core API instead of directly accessing the data.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c
include/linux/extcon.h