diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-09-26 09:48:15 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-10-02 04:23:34 -0400 |
commit | 92947789815f9ec808ad3de177af99a5d02ef6b2 (patch) | |
tree | ab7a4530e26580e86d9dc5da15b3a4fe61b72be7 /drivers/clk/clk-wm831x.c | |
parent | da0f0b2c3ad2ad9533c8c5cae84ad88d57a5e8dc (diff) |
clk: wm831x: get rid of the implementation of remove function
The remove function implemented for platform driver's remove callback
just return 0 as part of its implementation.
Remove this APIs and do not pass the valid .remove for platform driver.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-wm831x.c')
-rw-r--r-- | drivers/clk/clk-wm831x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/clk/clk-wm831x.c b/drivers/clk/clk-wm831x.c index 805b4c344006..b131041c8f48 100644 --- a/drivers/clk/clk-wm831x.c +++ b/drivers/clk/clk-wm831x.c | |||
@@ -391,14 +391,8 @@ static int wm831x_clk_probe(struct platform_device *pdev) | |||
391 | return 0; | 391 | return 0; |
392 | } | 392 | } |
393 | 393 | ||
394 | static int wm831x_clk_remove(struct platform_device *pdev) | ||
395 | { | ||
396 | return 0; | ||
397 | } | ||
398 | |||
399 | static struct platform_driver wm831x_clk_driver = { | 394 | static struct platform_driver wm831x_clk_driver = { |
400 | .probe = wm831x_clk_probe, | 395 | .probe = wm831x_clk_probe, |
401 | .remove = wm831x_clk_remove, | ||
402 | .driver = { | 396 | .driver = { |
403 | .name = "wm831x-clk", | 397 | .name = "wm831x-clk", |
404 | .owner = THIS_MODULE, | 398 | .owner = THIS_MODULE, |