summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-07-20 21:57:44 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:32:36 -0700
commit366192fb2dae2cfc11ed5fac37099f325f974581 (patch)
tree9f4c629c3dbef19337899947423fbc6adf7470b6 /drivers/thermal
parentee6e720f342b7241d980f7f8a0cde3d8e44d9a67 (diff)
thermal: generic-adc-thermal: remove __devinit/__devexit
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Change-Id: Ic3f22f63cd63426a2c0e5feae7ce413eb64f99c1 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/251629 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/generic_adc_thermal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/thermal/generic_adc_thermal.c b/drivers/thermal/generic_adc_thermal.c
index 2c3df3dc608d..69d3121732b4 100644
--- a/drivers/thermal/generic_adc_thermal.c
+++ b/drivers/thermal/generic_adc_thermal.c
@@ -229,7 +229,7 @@ error:
}
#endif /* CONFIG_DEBUG_FS */
-static int __devinit gadc_thermal_probe(struct platform_device *pdev)
+static int gadc_thermal_probe(struct platform_device *pdev)
{
struct gadc_thermal_platform_data *pdata = dev_get_platdata(&pdev->dev);
struct gadc_thermal_driver_data *drvdata;
@@ -294,7 +294,7 @@ error_release_channel:
return ret;
}
-static int __devexit gadc_thermal_remove(struct platform_device *pdev)
+static int gadc_thermal_remove(struct platform_device *pdev)
{
struct gadc_thermal_driver_data *drvdata = platform_get_drvdata(pdev);
@@ -311,7 +311,7 @@ static struct platform_driver gadc_thermal_driver = {
.owner = THIS_MODULE,
},
.probe = gadc_thermal_probe,
- .remove = __devexit_p(gadc_thermal_remove),
+ .remove = gadc_thermal_remove,
};
module_platform_driver(gadc_thermal_driver);