aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-ds1305.c')
-rw-r--r--drivers/rtc/rtc-ds1305.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c
index 686a865913e1..d578773f5ce2 100644
--- a/drivers/rtc/rtc-ds1305.c
+++ b/drivers/rtc/rtc-ds1305.c
@@ -601,7 +601,7 @@ static struct bin_attribute nvram = {
601 * Interface to SPI stack 601 * Interface to SPI stack
602 */ 602 */
603 603
604static int __devinit ds1305_probe(struct spi_device *spi) 604static int ds1305_probe(struct spi_device *spi)
605{ 605{
606 struct ds1305 *ds1305; 606 struct ds1305 *ds1305;
607 int status; 607 int status;
@@ -787,7 +787,7 @@ fail0:
787 return status; 787 return status;
788} 788}
789 789
790static int __devexit ds1305_remove(struct spi_device *spi) 790static int ds1305_remove(struct spi_device *spi)
791{ 791{
792 struct ds1305 *ds1305 = spi_get_drvdata(spi); 792 struct ds1305 *ds1305 = spi_get_drvdata(spi);
793 793
@@ -810,7 +810,7 @@ static struct spi_driver ds1305_driver = {
810 .driver.name = "rtc-ds1305", 810 .driver.name = "rtc-ds1305",
811 .driver.owner = THIS_MODULE, 811 .driver.owner = THIS_MODULE,
812 .probe = ds1305_probe, 812 .probe = ds1305_probe,
813 .remove = __devexit_p(ds1305_remove), 813 .remove = ds1305_remove,
814 /* REVISIT add suspend/resume */ 814 /* REVISIT add suspend/resume */
815}; 815};
816 816