Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431967

[PATCH 0/3] extcon: Refactoring the core and add resource-managed functions for notifier

From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] extcon: Refactoring the core and add resource-managed functions for notifier
Date 2016-06-27 13:40 +0200
Message-ID <rOD3s-83w-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patch-set are refactoring the extcon core without the modification
of operation. The struct extcon_cabe moves from header file to extcon core
and make the new devres.c driver which only handles the resource-managed
functions. Lastly, this patch-set add resource-managed functions for extcon
register to handle it automatically when probe fail occur or device is removed.

Chanwoo Choi (3):
  extcon: Move struct extcon_cable from header file to core
  extcon: Split out the resource-managed functions from extcon core
  extcon: Add resource-managed functions to register extcon notifier

 drivers/extcon/Makefile |   2 +-
 drivers/extcon/devres.c | 216 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/extcon/extcon.c | 137 +++++-------------------------
 include/linux/extcon.h  |  37 ++++-----
 4 files changed, 254 insertions(+), 138 deletions(-)
 create mode 100644 drivers/extcon/devres.c

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] extcon: Refactoring the core and add resource-managed  functions for notifier Chanwoo Choi <cw00.choi@samsung.com> - 2016-06-27 13:40 +0200
  [PATCH 1/3] extcon: Move struct extcon_cable from header file to core Chanwoo Choi <cw00.choi@samsung.com> - 2016-06-27 13:40 +0200

csiph-web