Skip to content

Commit

Permalink
drivers/rtc/rtc-da9052.c: remove empty function
Browse files Browse the repository at this point in the history
After the switch to devm_ functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Sachin Kamat authored and torvalds committed Jul 3, 2013
1 parent 67d326f commit 8c0a427
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/rtc/rtc-da9052.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,8 @@ static int da9052_rtc_probe(struct platform_device *pdev)
return 0;
}

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

static struct platform_driver da9052_rtc_driver = {
.probe = da9052_rtc_probe,
.remove = da9052_rtc_remove,
.driver = {
.name = "da9052-rtc",
.owner = THIS_MODULE,
Expand Down

0 comments on commit 8c0a427

Please sign in to comment.