Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755808Ab3CDI45 (ORCPT ); Mon, 4 Mar 2013 03:56:57 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:64825 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754489Ab3CDI44 (ORCPT ); Mon, 4 Mar 2013 03:56:56 -0500 X-AuditID: cbfee691-b7faa6d000005ae9-52-513461d6b4ba From: Jingoo Han To: "'Andrew Morton'" Cc: "'LKML'" , "'Richard Purdie'" , "'Jingoo Han'" Subject: [PATCH] backlight: ep93xx_bl: remove incorrect __exit annotation Date: Mon, 04 Mar 2013 17:56:54 +0900 Message-id: <015501ce18b6$3819c310$a84d4930$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4YtjgDnfWDblDbSP+ou/QMT1c6bg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRmVeSWpSXmKPExsVy+t8zI91riSaBBvMnaltc3jWHzYHR4/Mm uQDGKC6blNSczLLUIn27BK6Mb/cmsxWcZqt49XELSwPjWdYuRg4OCQETiccHE7oYOYFMMYkL 99azdTFycQgJLGOU+HXtKTtEwkTiUstaZojEIkaJI9t/s0I4s5kkJq5sZQGpYhNQk/jy5TA7 yFQRAX2JthYNkDCzQKnE1gfvwUqEBTwlrr1fygpiswioSkz//4EJxOYVsJW4+2kHM4QtKPFj 8j0WiF4tifU7jzNB2PISm9e8ZYY4Wl3i0V9dkLCIgJ7E+9d32CFKRCT2vXjHCHKahEA/u8TJ /w8ZIXYJSHybfIgFoldWYtMBZoi/JCUOrrjBMoFRbBaSzbOQbJ6FZPMsJCsWMLKsYhRNLUgu KE5KLzLVK07MLS7NS9dLzs/dxAiJk4k7GO8fsD7EmAy0fiKzlGhyPjDO8kriDY2NTcxMTE3M LU3NTUkTVhLnlb8kEygk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CmxFGckGmoxFxUnAgAMxS0pBwMAAA== 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: 1062 Lines: 31 When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus, __init/__exit annotations should be removed from probe()/remove(). Signed-off-by: Jingoo Han --- drivers/video/backlight/ep93xx_bl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c index ef3e21e..fd073b2 100644 --- a/drivers/video/backlight/ep93xx_bl.c +++ b/drivers/video/backlight/ep93xx_bl.c @@ -60,7 +60,7 @@ static const struct backlight_ops ep93xxbl_ops = { .get_brightness = ep93xxbl_get_brightness, }; -static int __init ep93xxbl_probe(struct platform_device *dev) +static int ep93xxbl_probe(struct platform_device *dev) { struct ep93xxbl *ep93xxbl; struct backlight_device *bl; -- 1.7.2.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/