diff options
Diffstat (limited to 'drivers/rtc/rtc-bq4802.c')
-rw-r--r-- | drivers/rtc/rtc-bq4802.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/rtc/rtc-bq4802.c b/drivers/rtc/rtc-bq4802.c index af2886784a7b..fc0ff87aa5df 100644 --- a/drivers/rtc/rtc-bq4802.c +++ b/drivers/rtc/rtc-bq4802.c | |||
@@ -186,13 +186,6 @@ out: | |||
186 | 186 | ||
187 | } | 187 | } |
188 | 188 | ||
189 | static int bq4802_remove(struct platform_device *pdev) | ||
190 | { | ||
191 | platform_set_drvdata(pdev, NULL); | ||
192 | |||
193 | return 0; | ||
194 | } | ||
195 | |||
196 | /* work with hotplug and coldplug */ | 189 | /* work with hotplug and coldplug */ |
197 | MODULE_ALIAS("platform:rtc-bq4802"); | 190 | MODULE_ALIAS("platform:rtc-bq4802"); |
198 | 191 | ||
@@ -202,7 +195,6 @@ static struct platform_driver bq4802_driver = { | |||
202 | .owner = THIS_MODULE, | 195 | .owner = THIS_MODULE, |
203 | }, | 196 | }, |
204 | .probe = bq4802_probe, | 197 | .probe = bq4802_probe, |
205 | .remove = bq4802_remove, | ||
206 | }; | 198 | }; |
207 | 199 | ||
208 | module_platform_driver(bq4802_driver); | 200 | module_platform_driver(bq4802_driver); |