Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756468AbcK2KL0 (ORCPT ); Tue, 29 Nov 2016 05:11:26 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:52539 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754373AbcK2KKx (ORCPT ); Tue, 29 Nov 2016 05:10:53 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.wolfsonmicro.com Date: Tue, 29 Nov 2016 10:10:58 +0000 From: Charles Keepax To: Chanwoo Choi CC: , , , Chen-Yu Tsai , Krzysztof Kozlowski , Yoshihiro Shimoda , Kishon Vijay Abraham I , Maxime Ripard , Felipe Balbi , "Greg Kroah-Hartman" , Chris Zhong , Roger Quadros , , , , Subject: Re: [PATCH] extcon: Split out the extcon APIs for extcon provider driver Message-ID: <20161129101058.GG1867@localhost.localdomain> References: <1480413743-13037-1-git-send-email-cw00.choi@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1480413743-13037-1-git-send-email-cw00.choi@samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611290174 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1759 Lines: 41 On Tue, Nov 29, 2016 at 07:02:23PM +0900, Chanwoo Choi wrote: > This patchs split out the extcon APIs of extcon provider driver in order to > prevent the direct access of struct extcon_dev by extcon consumer driver. > The extcon consumer driver don't need to handle the extcon provider APIs. > > The extcon subsystem has two type of extcon drivers as following: > - extcon provider driver > : Detect the external connector and identify the state/property of > each external connector. And it send the notification to synchronize > the information between provider and consumer driver. > - extcon consumer driver > : Receive the notifcation from extcon provider driver. When receving the noti, > it can get the both state and property of specific external connector. > > Cc: Myungjoo Ham > Cc: Chen-Yu Tsai > Cc: Krzysztof Kozlowski > Cc: Yoshihiro Shimoda > Cc: Kishon Vijay Abraham I > Cc: Maxime Ripard > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Cc: Chris Zhong > Cc: Roger Quadros > Cc: Charles Keepax > Cc: patches@opensource.wolfsonmicro.com > Cc: linux-renesas-soc@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-usb@vger.kernel.org > Signed-off-by: Chanwoo Choi > --- > drivers/extcon/devres.c | 2 +- > drivers/extcon/extcon-adc-jack.c | 2 +- > drivers/extcon/extcon-arizona.c | 2 +- For the Arizona bit: Acked-by: Charles Keepax Thanks, Charles