aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/abituguru3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/abituguru3.c')
-rw-r--r--drivers/hwmon/abituguru3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/abituguru3.c b/drivers/hwmon/abituguru3.c
index b174b8b2b4df..205327d33c4d 100644
--- a/drivers/hwmon/abituguru3.c
+++ b/drivers/hwmon/abituguru3.c
@@ -966,7 +966,7 @@ static struct sensor_device_attribute_2 abituguru3_sysfs_attr[] = {
966 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0), 966 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0),
967}; 967};
968 968
969static int __devinit abituguru3_probe(struct platform_device *pdev) 969static int abituguru3_probe(struct platform_device *pdev)
970{ 970{
971 const int no_sysfs_attr[3] = { 10, 8, 7 }; 971 const int no_sysfs_attr[3] = { 10, 8, 7 };
972 int sensor_index[3] = { 0, 1, 1 }; 972 int sensor_index[3] = { 0, 1, 1 };
@@ -1072,7 +1072,7 @@ abituguru3_probe_error:
1072 return res; 1072 return res;
1073} 1073}
1074 1074
1075static int __devexit abituguru3_remove(struct platform_device *pdev) 1075static int abituguru3_remove(struct platform_device *pdev)
1076{ 1076{
1077 int i; 1077 int i;
1078 struct abituguru3_data *data = platform_get_drvdata(pdev); 1078 struct abituguru3_data *data = platform_get_drvdata(pdev);
@@ -1171,7 +1171,7 @@ static struct platform_driver abituguru3_driver = {
1171 .pm = ABIT_UGURU3_PM 1171 .pm = ABIT_UGURU3_PM
1172 }, 1172 },
1173 .probe = abituguru3_probe, 1173 .probe = abituguru3_probe,
1174 .remove = __devexit_p(abituguru3_remove), 1174 .remove = abituguru3_remove,
1175}; 1175};
1176 1176
1177static int __init abituguru3_dmi_detect(void) 1177static int __init abituguru3_dmi_detect(void)