[lkml]   [2016]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 06/10] clk: samsung make clk-exynos-audss explicitly non-modular
The Kconfig currently controlling compilation of this code is:

arch/arm/mach-exynos/Kconfig:menuconfig ARCH_EXYNOS
arch/arm/mach-exynos/Kconfig: bool "Samsung EXYNOS" if ARCH_MULTI_V7

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modularity so that when reading the
driver there is no doubt it is builtin-only.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init was already not used by this code, the init ordering
remains unchanged with this commit.

We also delete the MODULE_LICENSE tags etc. since all that information
is already contained at the top of the file in the comments.

Cc: Sylwester Nawrocki <>
Cc: Tomasz Figa <>
Cc: Michael Turquette <>
Cc: Stephen Boyd <>
Cc: Kukjin Kim <>
Cc: Krzysztof Kozlowski <>
Cc: Padmavathi Venna <>
Signed-off-by: Paul Gortmaker <>
drivers/clk/samsung/clk-exynos-audss.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/drivers/clk/samsung/clk-exynos-audss.c b/drivers/clk/samsung/clk-exynos-audss.c
index 4e9584d79089..42b62f865198 100644
--- a/drivers/clk/samsung/clk-exynos-audss.c
+++ b/drivers/clk/samsung/clk-exynos-audss.c
@@ -15,7 +15,7 @@
#include <linux/clk-provider.h>
#include <linux/of_address.h>
#include <linux/syscore_ops.h>
-#include <linux/module.h>
+#include <linux/init.h>
#include <linux/platform_device.h>

#include <dt-bindings/clock/exynos-audss-clk.h>
@@ -278,14 +278,3 @@ static int __init exynos_audss_clk_init(void)
return platform_driver_register(&exynos_audss_clk_driver);
-static void __exit exynos_audss_clk_exit(void)
- platform_driver_unregister(&exynos_audss_clk_driver);
-MODULE_AUTHOR("Padmavathi Venna <>");
-MODULE_DESCRIPTION("Exynos Audio Subsystem Clock Controller");
 \ /
  Last update: 2016-07-05 00:01    [W:0.188 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site