extcon: Remove the state_store() to prevent the wrong access
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 18 Jul 2016 06:39:28 +0000 (15:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Aug 2016 01:58:36 +0000 (10:58 +0900)
commit5d5321e90a69881a6e92604b73f7c8e8ca473373
tree1daa641dd53683e0636ad2ff66169562d858c24b
parent7575591c2db8cbf4ba543cb9bcb6a4cdd5a7aa97
extcon: Remove the state_store() to prevent the wrong access

This patch removes the state_store() which change the state of external
connectors with bit masking on user-space. It is wrong access to modify
the change the state of external connectors.

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