Commit 92947789815f9ec808ad3de177af99a5d02ef6b2
Committed by
Mike Turquette
1 parent
da0f0b2c3a
Exists in
master
and in
16 other branches
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>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
drivers/clk/clk-wm831x.c
... | ... | @@ -391,14 +391,8 @@ |
391 | 391 | return 0; |
392 | 392 | } |
393 | 393 | |
394 | -static int wm831x_clk_remove(struct platform_device *pdev) | |
395 | -{ | |
396 | - return 0; | |
397 | -} | |
398 | - | |
399 | 394 | static struct platform_driver wm831x_clk_driver = { |
400 | 395 | .probe = wm831x_clk_probe, |
401 | - .remove = wm831x_clk_remove, | |
402 | 396 | .driver = { |
403 | 397 | .name = "wm831x-clk", |
404 | 398 | .owner = THIS_MODULE, |