]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5c30f981ad5cbaec0656053e8c9187b5b840f72
tree1daa641dd53683e0636ad2ff66169562d858c24b
parentde99978013577e89455bfe086905120a72c69292
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