|
@@ -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");
|