summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/devres.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-07-01 02:41:18 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2016-08-08 10:58:36 +0900
commit912465bcf869660900cf77c4761869048f3ff063 (patch)
tree2b04bc845cb5e76a70246790059c5016fc8c7d69 /drivers/extcon/devres.c
parent5d5321e90a69881a6e92604b73f7c8e8ca473373 (diff)
downloadlinux-912465bcf869660900cf77c4761869048f3ff063.tar.gz
linux-912465bcf869660900cf77c4761869048f3ff063.tar.bz2
linux-912465bcf869660900cf77c4761869048f3ff063.zip
extcon: Block the bit masking operation for cable state except for extcon core
This patch restrict the usage of extcon_update_state() in the extcon core because the extcon_update_state() use the bit masking to change the state of external connector. When this function is used in device drivers, it may occur the probelm with the handling mistake of bit masking. Also, this patch removes the extcon_get/set_state() functions because these functions use the bit masking which is reluctant way. Instead, extcon provides the extcon_set/get_cable_state_() functions. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/devres.c')
0 files changed, 0 insertions, 0 deletions