[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1469099373-30194-1-git-send-email-cw00.choi@samsung.com>
Date: Thu, 21 Jul 2016 20:09:28 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: linux-kernel@...r.kernel.org
Cc: cw00.choi@...sung.com, myungjoo.ham@...sung.com,
ckeepax@...nsource.wolfsonmicro.com
Subject: [PATCH v2 0/5] extcon: Block the usgae of
extcon_set/get/update_state() except for extcon core
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_()
Changes from v1:
- Add patch3 to remove the usage of extcon_set_state() on extcon-gpio.c
Chanwoo Choi (5):
extcon: arizona: Remove the usage of extcon_update_state()
extcon: adc-jack: Remove the usage of extcon_set_state()
extcon: gpio: 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-gpio.c | 2 +-
drivers/extcon/extcon.c | 41 ++--------------------------------
include/linux/extcon.h | 30 -------------------------
include/linux/extcon/extcon-adc-jack.h | 4 ++--
6 files changed, 26 insertions(+), 88 deletions(-)
--
1.9.1
Powered by blists - more mailing lists