diff options
Diffstat (limited to 'drivers/rtc/rtc-dm355evm.c')
-rw-r--r-- | drivers/rtc/rtc-dm355evm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c index 1e1ca63d58a9..1aca08394c47 100644 --- a/drivers/rtc/rtc-dm355evm.c +++ b/drivers/rtc/rtc-dm355evm.c | |||
@@ -139,19 +139,12 @@ static int dm355evm_rtc_probe(struct platform_device *pdev) | |||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int dm355evm_rtc_remove(struct platform_device *pdev) | ||
143 | { | ||
144 | platform_set_drvdata(pdev, NULL); | ||
145 | return 0; | ||
146 | } | ||
147 | |||
148 | /* | 142 | /* |
149 | * I2C is used to talk to the MSP430, but this platform device is | 143 | * I2C is used to talk to the MSP430, but this platform device is |
150 | * exposed by an MFD driver that manages I2C communications. | 144 | * exposed by an MFD driver that manages I2C communications. |
151 | */ | 145 | */ |
152 | static struct platform_driver rtc_dm355evm_driver = { | 146 | static struct platform_driver rtc_dm355evm_driver = { |
153 | .probe = dm355evm_rtc_probe, | 147 | .probe = dm355evm_rtc_probe, |
154 | .remove = dm355evm_rtc_remove, | ||
155 | .driver = { | 148 | .driver = { |
156 | .owner = THIS_MODULE, | 149 | .owner = THIS_MODULE, |
157 | .name = "rtc-dm355evm", | 150 | .name = "rtc-dm355evm", |