diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 05:45:29 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-25 20:43:31 -0400 |
commit | 59c0621d4d5fa4faeb8a0cdd0cfe27c13fdd09b2 (patch) | |
tree | a05845b229d26b2cb9bf0765ed3e69f42afbe5bb /drivers/clk/clk-max77802.c | |
parent | fa531042ac3633b726067253f48ac542d86b80ad (diff) |
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/clk-max77802.c')
-rw-r--r-- | drivers/clk/clk-max77802.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/clk-max77802.c b/drivers/clk/clk-max77802.c index 8e480c5c2945..0729dc723a8f 100644 --- a/drivers/clk/clk-max77802.c +++ b/drivers/clk/clk-max77802.c | |||
@@ -84,7 +84,6 @@ MODULE_DEVICE_TABLE(platform, max77802_clk_id); | |||
84 | static struct platform_driver max77802_clk_driver = { | 84 | static struct platform_driver max77802_clk_driver = { |
85 | .driver = { | 85 | .driver = { |
86 | .name = "max77802-clk", | 86 | .name = "max77802-clk", |
87 | .owner = THIS_MODULE, | ||
88 | }, | 87 | }, |
89 | .probe = max77802_clk_probe, | 88 | .probe = max77802_clk_probe, |
90 | .remove = max77802_clk_remove, | 89 | .remove = max77802_clk_remove, |