aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm78.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r--drivers/hwmon/lm78.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index c6ffafe600ad..53d6ee8ffa33 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -833,7 +833,7 @@ static struct lm78_data *lm78_update_device(struct device *dev)
833} 833}
834 834
835#ifdef CONFIG_ISA 835#ifdef CONFIG_ISA
836static int __devinit lm78_isa_probe(struct platform_device *pdev) 836static int lm78_isa_probe(struct platform_device *pdev)
837{ 837{
838 int err; 838 int err;
839 struct lm78_data *data; 839 struct lm78_data *data;
@@ -886,7 +886,7 @@ static int __devinit lm78_isa_probe(struct platform_device *pdev)
886 return err; 886 return err;
887} 887}
888 888
889static int __devexit lm78_isa_remove(struct platform_device *pdev) 889static int lm78_isa_remove(struct platform_device *pdev)
890{ 890{
891 struct lm78_data *data = platform_get_drvdata(pdev); 891 struct lm78_data *data = platform_get_drvdata(pdev);
892 892
@@ -903,7 +903,7 @@ static struct platform_driver lm78_isa_driver = {
903 .name = "lm78", 903 .name = "lm78",
904 }, 904 },
905 .probe = lm78_isa_probe, 905 .probe = lm78_isa_probe,
906 .remove = __devexit_p(lm78_isa_remove), 906 .remove = lm78_isa_remove,
907}; 907};
908 908
909/* return 1 if a supported chip is found, 0 otherwise */ 909/* return 1 if a supported chip is found, 0 otherwise */