public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] extcon: Block the usgae of extcon_set/get/update_state() except for extcon core
@ 2016-07-20  7:38 Chanwoo Choi
  2016-07-20  7:38 ` [PATCH 1/4] extcon: arizona: Remove the usage of extcon_update_state() Chanwoo Choi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Chanwoo Choi @ 2016-07-20  7:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: cw00.choi, myungjoo.ham, ckeepax

This patchset blocks the usgae of extcon_get/get_update_state()
except for extcon core. Instead, extcon framework provide the
other APIs with unique extcon id as following:
- extcon_set_cable_state_()
- extcon_get_cable_state_()

Chanwoo Choi (4):
  extcon: arizona: Remove the usage of extcon_update_state()
  extcon: adc-jack: Remove the usage of extcon_set_state()
  extcon: Remove the state_store() to prevent the wrong access
  extcon: Block the bit masking operation for cable state except for extcon core

 drivers/extcon/extcon-adc-jack.c       | 26 +++++++++++----------
 drivers/extcon/extcon-arizona.c        | 11 +++++----
 drivers/extcon/extcon.c                | 41 ++--------------------------------
 include/linux/extcon.h                 | 30 -------------------------
 include/linux/extcon/extcon-adc-jack.h |  4 ++--
 5 files changed, 25 insertions(+), 87 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-20  8:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20  7:38 [PATCH 0/4] extcon: Block the usgae of extcon_set/get/update_state() except for extcon core Chanwoo Choi
2016-07-20  7:38 ` [PATCH 1/4] extcon: arizona: Remove the usage of extcon_update_state() Chanwoo Choi
2016-07-20  8:22   ` Charles Keepax
2016-07-20  7:38 ` [PATCH 2/4] extcon: adc-jack: Remove the usage of extcon_set_state() Chanwoo Choi
2016-07-20  7:38 ` [PATCH 3/4] extcon: Remove the state_store() to prevent the wrong access Chanwoo Choi
2016-07-20  7:38 ` [PATCH 4/4] extcon: Block the bit masking operation for cable state except for extcon core Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox