aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pc87427.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pc87427.c')
-rw-r--r--drivers/hwmon/pc87427.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hwmon/pc87427.c b/drivers/hwmon/pc87427.c
index f185b1fa53e..6086ad039d7 100644
--- a/drivers/hwmon/pc87427.c
+++ b/drivers/hwmon/pc87427.c
@@ -956,7 +956,7 @@ static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
956 * Device detection, attach and detach 956 * Device detection, attach and detach
957 */ 957 */
958 958
959static int __devinit pc87427_request_regions(struct platform_device *pdev, 959static int pc87427_request_regions(struct platform_device *pdev,
960 int count) 960 int count)
961{ 961{
962 struct resource *res; 962 struct resource *res;
@@ -980,7 +980,7 @@ static int __devinit pc87427_request_regions(struct platform_device *pdev,
980 return 0; 980 return 0;
981} 981}
982 982
983static void __devinit pc87427_init_device(struct device *dev) 983static void pc87427_init_device(struct device *dev)
984{ 984{
985 struct pc87427_sio_data *sio_data = dev->platform_data; 985 struct pc87427_sio_data *sio_data = dev->platform_data;
986 struct pc87427_data *data = dev_get_drvdata(dev); 986 struct pc87427_data *data = dev_get_drvdata(dev);
@@ -1072,7 +1072,7 @@ static void pc87427_remove_files(struct device *dev)
1072 } 1072 }
1073} 1073}
1074 1074
1075static int __devinit pc87427_probe(struct platform_device *pdev) 1075static int pc87427_probe(struct platform_device *pdev)
1076{ 1076{
1077 struct pc87427_sio_data *sio_data = pdev->dev.platform_data; 1077 struct pc87427_sio_data *sio_data = pdev->dev.platform_data;
1078 struct pc87427_data *data; 1078 struct pc87427_data *data;
@@ -1141,7 +1141,7 @@ exit_remove_files:
1141 return err; 1141 return err;
1142} 1142}
1143 1143
1144static int __devexit pc87427_remove(struct platform_device *pdev) 1144static int pc87427_remove(struct platform_device *pdev)
1145{ 1145{
1146 struct pc87427_data *data = platform_get_drvdata(pdev); 1146 struct pc87427_data *data = platform_get_drvdata(pdev);
1147 1147
@@ -1158,7 +1158,7 @@ static struct platform_driver pc87427_driver = {
1158 .name = DRVNAME, 1158 .name = DRVNAME,
1159 }, 1159 },
1160 .probe = pc87427_probe, 1160 .probe = pc87427_probe,
1161 .remove = __devexit_p(pc87427_remove), 1161 .remove = pc87427_remove,
1162}; 1162};
1163 1163
1164static int __init pc87427_device_add(const struct pc87427_sio_data *sio_data) 1164static int __init pc87427_device_add(const struct pc87427_sio_data *sio_data)