extcon: Remove optional print_state() function pointer of struct extcon_dev
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 11 Jun 2015 11:17:02 +0000 (20:17 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 10 Aug 2015 02:48:55 +0000 (11:48 +0900)
commit2519b7650e99d90643a7a20d623513de9c95a817
tree1bd74e01d8e4d7f2b23725db9d0fb480212fcd17
parent85a77ff0160ab0a70eb4e8b14200e29b4d35c355
extcon: Remove optional print_state() function pointer of struct extcon_dev

This patch removes the optional print_state() function pointer which included
in 'struct extcon_dev' because the extcon must maintain the consistent name
of extcon device on sysfs instead of inconsistent state of external connectors.

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