aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max197.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/max197.c')
-rw-r--r--drivers/hwmon/max197.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
index 6304f2616fa7..b5ebb9198c75 100644
--- a/drivers/hwmon/max197.c
+++ b/drivers/hwmon/max197.c
@@ -257,7 +257,7 @@ static const struct attribute_group max197_sysfs_group = {
257 }, 257 },
258}; 258};
259 259
260static int __devinit max197_probe(struct platform_device *pdev) 260static int max197_probe(struct platform_device *pdev)
261{ 261{
262 int ch, ret; 262 int ch, ret;
263 struct max197_data *data; 263 struct max197_data *data;
@@ -316,7 +316,7 @@ error:
316 return ret; 316 return ret;
317} 317}
318 318
319static int __devexit max197_remove(struct platform_device *pdev) 319static int max197_remove(struct platform_device *pdev)
320{ 320{
321 struct max197_data *data = platform_get_drvdata(pdev); 321 struct max197_data *data = platform_get_drvdata(pdev);
322 322
@@ -339,7 +339,7 @@ static struct platform_driver max197_driver = {
339 .owner = THIS_MODULE, 339 .owner = THIS_MODULE,
340 }, 340 },
341 .probe = max197_probe, 341 .probe = max197_probe,
342 .remove = __devexit_p(max197_remove), 342 .remove = max197_remove,
343 .id_table = max197_device_ids, 343 .id_table = max197_device_ids,
344}; 344};
345module_platform_driver(max197_driver); 345module_platform_driver(max197_driver);