aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:15:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:02 -0500
commit4eab7a9eb2def0b4b0f36397a6cfca6eadba7302 (patch)
treec57c3d7461682689141a8a9425fedfa22918cc3f /drivers/thermal
parent59a609a97a59a10b0d5e46e9491c856efb57065d (diff)
Drivers: thermal: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/exynos_thermal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
index 7772d1603769..224751e9f5ff 100644
--- a/drivers/thermal/exynos_thermal.c
+++ b/drivers/thermal/exynos_thermal.c
@@ -832,7 +832,7 @@ static inline struct exynos_tmu_platform_data *exynos_get_driver_data(
832 return (struct exynos_tmu_platform_data *) 832 return (struct exynos_tmu_platform_data *)
833 platform_get_device_id(pdev)->driver_data; 833 platform_get_device_id(pdev)->driver_data;
834} 834}
835static int __devinit exynos_tmu_probe(struct platform_device *pdev) 835static int exynos_tmu_probe(struct platform_device *pdev)
836{ 836{
837 struct exynos_tmu_data *data; 837 struct exynos_tmu_data *data;
838 struct exynos_tmu_platform_data *pdata = pdev->dev.platform_data; 838 struct exynos_tmu_platform_data *pdata = pdev->dev.platform_data;
@@ -937,7 +937,7 @@ err_clk:
937 return ret; 937 return ret;
938} 938}
939 939
940static int __devexit exynos_tmu_remove(struct platform_device *pdev) 940static int exynos_tmu_remove(struct platform_device *pdev)
941{ 941{
942 struct exynos_tmu_data *data = platform_get_drvdata(pdev); 942 struct exynos_tmu_data *data = platform_get_drvdata(pdev);
943 943
@@ -985,7 +985,7 @@ static struct platform_driver exynos_tmu_driver = {
985 .of_match_table = exynos_tmu_match, 985 .of_match_table = exynos_tmu_match,
986 }, 986 },
987 .probe = exynos_tmu_probe, 987 .probe = exynos_tmu_probe,
988 .remove = __devexit_p(exynos_tmu_remove), 988 .remove = exynos_tmu_remove,
989 .id_table = exynos_tmu_driver_ids, 989 .id_table = exynos_tmu_driver_ids,
990}; 990};
991 991