summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
diff options
context:
space:
mode:
authorKiran Padwal2014-09-24 11:45:29 +0200
committerMike Turquette2014-09-26 02:43:31 +0200
commit59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2 (patch)
treea05845b229d26b2cb9bf0765ed3e69f42afbe5bb /drivers/clk/sunxi/clk-sun6i-apb0-gates.c
parentMerge branch 'clk-next-rockchip' into clk-next (diff)
downloadkernel-qcow2-linux-59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2.tar.gz
kernel-qcow2-linux-59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2.tar.xz
kernel-qcow2-linux-59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2.zip
clk: Remove .owner field for driver
There is no need to init .owner field. Based on the patch from Peter Griffin <peter.griffin@linaro.org> "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun6i-apb0-gates.c')
-rw-r--r--drivers/clk/sunxi/clk-sun6i-apb0-gates.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
index e10d0521ec76..64f3e46d383c 100644
--- a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
+++ b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
@@ -99,7 +99,6 @@ static int sun6i_a31_apb0_gates_clk_probe(struct platform_device *pdev)
static struct platform_driver sun6i_a31_apb0_gates_clk_driver = {
.driver = {
.name = "sun6i-a31-apb0-gates-clk",
- .owner = THIS_MODULE,
.of_match_table = sun6i_a31_apb0_gates_clk_dt_ids,
},
.probe = sun6i_a31_apb0_gates_clk_probe,