]> Git Repo - linux.git/commitdiff
thermal: exynos: Remove unused code related to platform_data on probe()
authorChanwoo Choi <[email protected]>
Thu, 2 Jul 2015 06:40:01 +0000 (15:40 +0900)
committerEduardo Valentin <[email protected]>
Mon, 3 Aug 2015 02:36:57 +0000 (19:36 -0700)
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 <[email protected]>
Cc: Eduardo Valentin <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Signed-off-by: Lukasz Majewski <[email protected]>
Tested-by: Lukasz Majewski <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
drivers/thermal/samsung/exynos_tmu.c

index 13c3aceed19d7cdb3930243a3a0a0d6cf746cc52..c96ff10b869efd941bfe8c32384d48b70b1c348d 100644 (file)
@@ -1296,7 +1296,6 @@ static struct thermal_zone_of_device_ops exynos_sensor_ops = {
 
 static int exynos_tmu_probe(struct platform_device *pdev)
 {
-       struct exynos_tmu_platform_data *pdata;
        struct exynos_tmu_data *data;
        int ret;
 
@@ -1318,8 +1317,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
        if (ret)
                goto err_sensor;
 
-       pdata = data->pdata;
-
        INIT_WORK(&data->irq_work, exynos_tmu_work);
 
        data->clk = devm_clk_get(&pdev->dev, "tmu_apbif");
This page took 0.065644 seconds and 4 git commands to generate.