Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 277048aa authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Torvalds
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 013f91e7
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -139,18 +139,12 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
	return 0;
	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
 * I2C is used to talk to the MSP430, but this platform device is
 * exposed by an MFD driver that manages I2C communications.
 * exposed by an MFD driver that manages I2C communications.
 */
 */
static struct platform_driver rtc_dm355evm_driver = {
static struct platform_driver rtc_dm355evm_driver = {
	.probe		= dm355evm_rtc_probe,
	.probe		= dm355evm_rtc_probe,
	.remove		= dm355evm_rtc_remove,
	.driver		= {
	.driver		= {
		.owner	= THIS_MODULE,
		.owner	= THIS_MODULE,
		.name	= "rtc-dm355evm",
		.name	= "rtc-dm355evm",