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: 2645521 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CE89FDFB79 for ; Fri, 31 May 2013 20:56:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756715Ab3EaU4k (ORCPT ); Fri, 31 May 2013 16:56:40 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:61698 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754909Ab3EaU4i (ORCPT ); Fri, 31 May 2013 16:56:38 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so2827928pbb.19 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=DjrNJT47tgi/Q02L9J51+dDhWU2bUZ0PW+3OW7z9ru0dGTs550/i0sW0XgvdDEptee nSU7NKwqBrIvSBn5f2G0UWpSZDVTO5XD6IDTcUCrUdjSqjrAcxgxMjaH8hiLftcGgm17 3I9rIZETkRYBUlVEzTRBfljnIQmJbkirv0PwZtfpjkTUvOHXGHRhZuotQSwpLqxlSvhT Z5GDwY0HxPI7MJggNhl7J7xmTI/CKK91muRAOR6TFdS+I8VpY5iIHABlTK0l4+jPKX6y Mm5jSoMXdH/HbsLCNNpPPwhaE8aqDgjinL4WTrZhYBN+KQcLhERm884WXWed16Xllq4R zJuQ== 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 Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org (open list) 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: ALoCoQnpMyX8gdFYVN37PkCfpqdsB5uPM1Xsi8QTbmGIKCMfQgUdqHxaBV6penUwNTvZqV5E7oFT Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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) {