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)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:48 +0000 (16:48 +0530)
commit0143f59de50eee70485be9b658e42495d72698dd
tree34aa70940b5f40a0c2d803b8aa41ac5878f69551
parent1662622fe595919ef004ef24364a68061052a12f
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