From patchwork Mon Jan 4 17:15:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 59141 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp5481312lbb; Mon, 4 Jan 2016 09:15:47 -0800 (PST) X-Received: by 10.98.80.147 with SMTP id g19mr114778324pfj.26.1451927747560; Mon, 04 Jan 2016 09:15:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 86si66006685pfi.16.2016.01.04.09.15.47; Mon, 04 Jan 2016 09:15:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbcADRPq (ORCPT + 6 others); Mon, 4 Jan 2016 12:15:46 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:36177 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969AbcADRPp (ORCPT ); Mon, 4 Jan 2016 12:15:45 -0500 Received: by mail-pf0-f176.google.com with SMTP id 65so160031415pff.3 for ; Mon, 04 Jan 2016 09:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=TWp3C0+/++TLj6VDEEaO1b9Yc5WYzTNtWhRzfpU4Ews=; b=kQLjoOCuWAwkAYOrwFdXWkUFoGdO6xO/znHwU73JWv/GbKjgsYBV9dobH5sp5KqKv5 L/iF8CTVK6WqW6TBQsrZMBK+/K0QZMVOCywWqO7aQLohRl0SpoZTsSjI2h/ypvcoWtZj Xtbq4FLdpLBp1LiHIaSJIovMDNxf8CXjQ3AOI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TWp3C0+/++TLj6VDEEaO1b9Yc5WYzTNtWhRzfpU4Ews=; b=IWA5nIPBBFB6UUrOAGrcQgFLuZ6Xb2SxDKM/KWF/uTb1CtcKQCCLEQCbIslZCPNgJ0 eJqK0gC26tdRErwVPLhx7wBOZ72iibNAhuKazW8aDhTx0OFNed4XKYPGQerReY3PgkGG GjHpba6tJLDw9c7z/CCM/VzHZZyS34ql2RDq4WjrqyvhD9uV9tibeeW7YQNhLvjhD+AW umKW+MqYzTVk6e55TPykN4K/vz0EQZhBYN4EiBhOUm54v8rcnBgeEKmG04G4cjtdvVSi VgHtvRr226oQt4m3aJTsCIjyLII7udqKGcPdIUwB4mIEy9mfp/y27vXTOTWOAMu08OQ7 60fw== X-Gm-Message-State: ALoCoQkZWHtZWjm83cu4Pdj/I5Zsdkpan/akUTWMvzV/zfiF18UszP9a0DUwrqacsbJtyTbAsPlMI81LG9Rkvi2V8dQEJFE+iw== X-Received: by 10.98.42.75 with SMTP id q72mr130196291pfq.10.1451927745346; Mon, 04 Jan 2016 09:15:45 -0800 (PST) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id ry1sm127564349pab.30.2016.01.04.09.15.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Jan 2016 09:15:44 -0800 (PST) From: Lina Iyer To: andy.gross@linaro.org, sboyd@codeaurora.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Lina Iyer , Paul Gortmaker Subject: [PATCH] drivers: qcom: spm: avoid module usage in non-modular SPM driver Date: Mon, 4 Jan 2016 10:15:25 -0700 Message-Id: <1451927725-7257-1-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SPM driver provides cpuidle support on some QC SoC's. The functionality is non-modular and there is no need for module support. Convert module platform init to builtin platform driver init. The driver functionality is not affected by this change. Cc: Paul Gortmaker Signed-off-by: Lina Iyer --- drivers/soc/qcom/spm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c index b04b05a..199c085 100644 --- a/drivers/soc/qcom/spm.c +++ b/drivers/soc/qcom/spm.c @@ -12,7 +12,6 @@ * GNU General Public License for more details. */ -#include #include #include #include @@ -378,8 +377,4 @@ static struct platform_driver spm_driver = { .of_match_table = spm_match_table, }, }; -module_platform_driver(spm_driver); - -MODULE_LICENSE("GPL v2"); -MODULE_DESCRIPTION("SAW power controller driver"); -MODULE_ALIAS("platform:saw"); +builtin_platform_driver(spm_driver);