Skip to content

Commit 3c19d23

Browse files
chanwoochoiEduardo Valentin
authored andcommitted
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>
1 parent f87e6bd commit 3c19d23

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/thermal/samsung/exynos_tmu.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,6 @@ static struct thermal_zone_of_device_ops exynos_sensor_ops = {
12961296

12971297
static int exynos_tmu_probe(struct platform_device *pdev)
12981298
{
1299-
struct exynos_tmu_platform_data *pdata;
13001299
struct exynos_tmu_data *data;
13011300
int ret;
13021301

@@ -1318,8 +1317,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
13181317
if (ret)
13191318
goto err_sensor;
13201319

1321-
pdata = data->pdata;
1322-
13231320
INIT_WORK(&data->irq_work, exynos_tmu_work);
13241321

13251322
data->clk = devm_clk_get(&pdev->dev, "tmu_apbif");

0 commit comments

Comments
 (0)