From patchwork Fri May 31 20:56:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 2645541 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 B98043FD4E for ; Fri, 31 May 2013 20:57:09 +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 1UiWNn-0007bx-Me; Fri, 31 May 2013 20:57:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiWNk-00031R-T6; Fri, 31 May 2013 20:57:04 +0000 Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiWNh-00030M-1Z for linux-arm-kernel@lists.infradead.org; Fri, 31 May 2013 20:57:02 +0000 Received: by mail-pb0-f42.google.com with SMTP id uo1so2830771pbc.15 for ; Fri, 31 May 2013 13:56:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=+tzxH4W2nP1fB505gGWANph6akWi7wSCcR2DqnpRlxs=; b=c4lhnQbT5STO6YCi8pqnH9p0VO0Fy5X50rDY4LnfTI8xwwfkNye8QzmFBPA8VXgHyr zzJJAQPpR4MXBdj+mBHwo2l1N3brQmxrTN1kIP1c3Hg1USfVt23IxWMyAoV9MzqI4Xl0 jcjZ0ux2K871ch9k+paoynptDOYKP154/1XcN3lIj6uis4pFoTvCoIBXfO65tGbVkARk 9fLYp3zvbKsotb6KUY6B5yrL4v+C6nvOJFYK5Rt1HC7KRbewU9VH/wVdc90X+aXb2f6R +jfgJxCfPI3XCPxwoxj28IvL5/IwvyxHpYOv3aEf/WagmhrsPtt+tT4BGGnensDobbWM oNbQ== X-Received: by 10.66.255.99 with SMTP id ap3mr15528442pad.102.1370033797838; Fri, 31 May 2013 13:56:37 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPSA id at1sm48107773pbc.10.2013.05.31.13.56.35 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 31 May 2013 13:56:36 -0700 (PDT) From: Kevin Hilman To: Samuel Ortiz , Tony Lindgren Subject: [PATCH] mfd: twl-core: convert to module_init() Date: Fri, 31 May 2013 13:56:34 -0700 Message-Id: <1370033794-5357-1-git-send-email-khilman@linaro.org> X-Mailer: git-send-email 1.8.2 X-Gm-Message-State: ALoCoQmrBpa6/ehctvT0fVvVnGzcLAgxy2zEM1TYymbwIzMG4SekGPdVhKGgqf91IXfEbpm2OwII X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130531_165701_216865_950750E8 X-CRM114-Status: GOOD ( 10.58 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org There's no reason for twl-core to be subsys_inicall anymore. Anything using twl that early needs a rethink, or deferred probe changes. Boot tested and RTC wake tested (via TWL RTC) on OMAP platforms: 3530/Beagle, 3730/Beagle-xM, 3530/Overo, 3730/Overo-STORM, 4430/Panda, 4460/Panda-ES. Cc: Tony Lindgren Signed-off-by: Kevin Hilman Acked-by: Tony Lindgren --- drivers/mfd/twl-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {