Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932640AbbD0MNo (ORCPT ); Mon, 27 Apr 2015 08:13:44 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:43365 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbbD0MNl (ORCPT ); Mon, 27 Apr 2015 08:13:41 -0400 X-AuditID: cbfee68f-f793b6d000005f66-88-553e27f38179 From: Chanwoo Choi To: linux-kernel@vger.kernel.org Cc: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, ckeepax@opensource.wolfsonmicro.com, cw00.choi@samsung.com Subject: [PATCH 0/4] extcon: Modify the device name for sysfs entry and add extcon_get_edev_name() Date: Mon, 27 Apr 2015 21:13:34 +0900 Message-id: <1430136818-11657-1-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsWyRsSkQPezul2owZ274hb/ptxgt7j+5Tmr xdmmN+wWl3fNYbO43biCzYHV4+XE32wefVtWMXp83iQXwBzFZZOSmpNZllqkb5fAlbHx5HfG gg62isXXfzE3ML5k6WLk5JAQMJG4/beRHcIWk7hwbz1bFyMXh5DAUkaJL+dWsMIU/ZjZxwiR mM4o8fbUYhYI5wujRPviHrAqNgEtif0vbrCB2CICChKbe5+BxZkFSiU29z0FiwsLpEjs+7IJ LM4ioCox5eQXRhCbV8BV4vqSe1AnKUgsWz6TFWSBhMB9None7RfYIRoEJL5NPgRUxAGUkJXY dIAZol5S4uCKGywTGAUXMDKsYhRNLUguKE5KLzLWK07MLS7NS9dLzs/dxAgMyNP/nvXvYLx7 wPoQowAHoxIPr8RE21Ah1sSy4srcQ4ymQBsmMkuJJucDwz6vJN7Q2MzIwtTE1NjI3NJMSZx3 odTPYCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2MTg67mSZ7Zf25e+KzZJTZkeM8tWfyfHYW 68nkXFxeU7fxj6QmX6HM+hXyf9bWObLKHIuc23G3c1bBeWFBl6Qfti/uLvjwbILEbOewkn8m Qnnv7sZIqHyXO2bYKGhZt/7ozurEZtezB5OrZ2XvkYi9He+tcbp7wgJ3s329Iusnnjp862dd RNMHJZbijERDLeai4kQA2gsoo0MCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsVy+t9jQd3P6nahBi86hS3+TbnBbnH9y3NW i7NNb9gtLu+aw2Zxu3EFmwOrx8uJv9k8+rasYvT4vEkugDmqgdEmIzUxJbVIITUvOT8lMy/d Vsk7ON453tTMwFDX0NLCXEkhLzE31VbJxSdA1y0zB2inkkJZYk4pUCggsbhYSd8O04TQEDdd C5jGCF3fkCC4HiMDNJCwhjFj48nvjAUdbBWLr/9ibmB8ydLFyMkhIWAi8WNmHyOELSZx4d56 ti5GLg4hgemMEm9PLWaBcL4wSrQv7mEFqWIT0JLY/+IGG4gtIqAgsbn3GVicWaBUYnPfU7C4 sECKxL4vm8DiLAKqElNOfgHbwCvgKnF9yT2ozQoSy5bPZJ3AyL2AkWEVo2hqQXJBcVJ6rqFe cWJucWleul5yfu4mRnC4P5PawbiyweIQowAHoxIPr8RE21Ah1sSy4srcQ4wSHMxKIrwHlOxC hXhTEiurUovy44tKc1KLDzGaAm2fyCwlmpwPjMW8knhDYxMzI0sjc0MLI2NzJXHeObpyoUIC 6YklqdmpqQWpRTB9TBycUg2MerOWxHntTXd89jBM+ev73bOCZ+8trfqf9SDt1KrpSWaXphQn W3tPe7PlkNPlAh0z8ZftgTYXBH3CzO8dNihep6moz+phN904ziDrapCuCsPR79K7J5g1b24R /H7lbJDtlzatV31bet0CJvFzdkZZbmI53RydefOUb0/MxSsfN64rrOw/vm+FEktxRqKhFnNR cSIA5Gg3LI0CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 24 This patchset update the extcon core to maintain the consistency of device name on sysfs and add the extcon_get_edev_name() API to access the filed of 'struct extcon_dev' by only extcon core API. And this patchset fix the checkpat warning and minor coding style issue. Chanwoo Choi (4): extcon: Modify the device name as extcon[X] for sysfs extcon: Add extcon_get_edev_name() API to get the extcon device name extcon: Fix the checkpatch warning and minor coding style issue extcon: arizona: Remove the setting of device name drivers/extcon/extcon-arizona.c | 1 - drivers/extcon/extcon.c | 27 +++++++++++++++++++-------- include/linux/extcon.h | 11 ++++++++--- 3 files changed, 27 insertions(+), 12 deletions(-) -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/