diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-07-02 02:40:01 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-08-02 22:36:57 -0400 |
commit | 3c19d237dd8148926e49259e495ee41dddd1f09c (patch) | |
tree | 29c9fc2fb39da236c90bc69b3986662933b6df2b | |
parent | f87e6bd3f7401ee3c04248d8ea2dc32883a1f8fb (diff) |
thermal: exynos: Remove unused code related to platform_data on probe()
This patch removes the unused code related to struct exynos_tmu_platform_data
because exynos_tmu_probe() don't handle the struct exynos_tmu_platform_data *pdata.
Test HW: Exynos4412 - Trats2 board
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r-- | drivers/thermal/samsung/exynos_tmu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 13c3aceed19d..c96ff10b869e 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c | |||
@@ -1296,7 +1296,6 @@ static struct thermal_zone_of_device_ops exynos_sensor_ops = { | |||
1296 | 1296 | ||
1297 | static int exynos_tmu_probe(struct platform_device *pdev) | 1297 | static int exynos_tmu_probe(struct platform_device *pdev) |
1298 | { | 1298 | { |
1299 | struct exynos_tmu_platform_data *pdata; | ||
1300 | struct exynos_tmu_data *data; | 1299 | struct exynos_tmu_data *data; |
1301 | int ret; | 1300 | int ret; |
1302 | 1301 | ||
@@ -1318,8 +1317,6 @@ static int exynos_tmu_probe(struct platform_device *pdev) | |||
1318 | if (ret) | 1317 | if (ret) |
1319 | goto err_sensor; | 1318 | goto err_sensor; |
1320 | 1319 | ||
1321 | pdata = data->pdata; | ||
1322 | |||
1323 | INIT_WORK(&data->irq_work, exynos_tmu_work); | 1320 | INIT_WORK(&data->irq_work, exynos_tmu_work); |
1324 | 1321 | ||
1325 | data->clk = devm_clk_get(&pdev->dev, "tmu_apbif"); | 1322 | data->clk = devm_clk_get(&pdev->dev, "tmu_apbif"); |