From patchwork Sat Jun 1 07:59:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 2647341 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 021E73FDBC for ; Sat, 1 Jun 2013 07:59:46 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uigiw-0004Wi-5s; Sat, 01 Jun 2013 07:59:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uigit-00024U-Eo; Sat, 01 Jun 2013 07:59:35 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uigin-00024C-N6 for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2013 07:59:33 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r517x5H8018868; Sat, 1 Jun 2013 02:59:05 -0500 Received: from DNCE70.ent.ti.com (dnce70.ent.ti.com [137.167.131.19]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r517x4gW009763; Sat, 1 Jun 2013 02:59:05 -0500 Received: from DNCE04.ent.ti.com ([fe80::50a2:cda3:1471:a76]) by DNCE70.ent.ti.com ([fe80::78db:4901:78e8:69bb%20]) with mapi id 14.02.0342.003; Sat, 1 Jun 2013 09:59:04 +0200 From: "Strashko, Grygorii" To: Kevin Hilman , Samuel Ortiz , Tony Lindgren Subject: RE: [PATCH] mfd: twl-core: convert to module_init() Thread-Topic: [PATCH] mfd: twl-core: convert to module_init() Thread-Index: AQHOXkFkixu2tfWPk0Ca0ybI95RtWJkgfZhV Date: Sat, 1 Jun 2013 07:59:03 +0000 Message-ID: <902E09E6452B0E43903E4F2D568737AB31F402@DNCE04.ent.ti.com> References: <1370033794-5357-1-git-send-email-khilman@linaro.org> In-Reply-To: <1370033794-5357-1-git-send-email-khilman@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [157.170.170.49] x-exclaimer-md-config: f9c360f5-3d1e-4c3c-8703-f45bf52eff6b MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130601_035929_883063_5454F513 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.0 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: "linux-omap@vger.kernel.org" , open list , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi Kevin, It's done alreday here: https://patchwork.kernel.org/patch/2477541/ - mfd: twl-core: convert to module_i2c_driver() (Samuel has taken this one) - and - https://patchwork.kernel.org/patch/2477561/ - i2c: omap: convert to module_platform_driver() (you can vote here - TWL can't be shifted without I2C) (Sent from Web Outlook - sorry if format is wrong) Best regards, - Grygorii Strashko diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 89ab4d9..7749b9e 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -1309,7 +1309,7 @@ static int __init twl_init(void) { return i2c_add_driver(&twl_driver); } -subsys_initcall(twl_init); +module_init(twl_init); static void __exit twl_exit(void) {