Skip to content

Commit

Permalink
clk: wm831x: get rid of the implementation of remove function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laxman Dewangan authored and Mike Turquette committed Oct 2, 2013
1 parent da0f0b2 commit 9294778
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/clk/clk-wm831x.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,8 @@ static int wm831x_clk_probe(struct platform_device *pdev)
return 0;
}

static int wm831x_clk_remove(struct platform_device *pdev)
{
return 0;
}

static struct platform_driver wm831x_clk_driver = {
.probe = wm831x_clk_probe,
.remove = wm831x_clk_remove,
.driver = {
.name = "wm831x-clk",
.owner = THIS_MODULE,
Expand Down

0 comments on commit 9294778

Please sign in to comment.