mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
drivers/rtc/rtc-dm355evm.c: remove empty function
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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
013f91e7bd
commit
277048aa6a
@ -139,18 +139,12 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int dm355evm_rtc_remove(struct platform_device *pdev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* I2C is used to talk to the MSP430, but this platform device is
|
||||
* exposed by an MFD driver that manages I2C communications.
|
||||
*/
|
||||
static struct platform_driver rtc_dm355evm_driver = {
|
||||
.probe = dm355evm_rtc_probe,
|
||||
.remove = dm355evm_rtc_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "rtc-dm355evm",
|
||||
|
Loading…
Reference in New Issue
Block a user