* [PATCH v2] drivers: qcom: spm: avoid module usage in non-modular SPM driver
@ 2016-01-04 17:58 Lina Iyer
2016-01-05 5:45 ` Daniel Lezcano
0 siblings, 1 reply; 2+ messages in thread
From: Lina Iyer @ 2016-01-04 17:58 UTC (permalink / raw)
To: andy.gross, sboyd; +Cc: linux-pm, linux-arm-msm, Lina Iyer, Paul Gortmaker
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 <paul.gortmaker@windriver.com>
Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
---
drivers/soc/qcom/spm.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index b04b05a..8ee5192 100644
--- a/drivers/soc/qcom/spm.c
+++ b/drivers/soc/qcom/spm.c
@@ -2,6 +2,8 @@
* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
* Copyright (c) 2014,2015, Linaro Ltd.
*
+ * SAW power controller driver
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
@@ -12,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
@@ -378,8 +379,5 @@ 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);
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drivers: qcom: spm: avoid module usage in non-modular SPM driver
2016-01-04 17:58 [PATCH v2] drivers: qcom: spm: avoid module usage in non-modular SPM driver Lina Iyer
@ 2016-01-05 5:45 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2016-01-05 5:45 UTC (permalink / raw)
To: Lina Iyer, andy.gross, sboyd; +Cc: linux-pm, linux-arm-msm, Paul Gortmaker
On 01/04/2016 06:58 PM, Lina Iyer wrote:
> 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 <paul.gortmaker@windriver.com>
> Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
> ---
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-05 5:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-04 17:58 [PATCH v2] drivers: qcom: spm: avoid module usage in non-modular SPM driver Lina Iyer
2016-01-05 5:45 ` Daniel Lezcano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.