exynos_tmu.c (9e4249b4034090730017deaf632b46b5faaa12b9) exynos_tmu.c (bfa26838572cd9b2b0623fcbc7b9352dcaa4262b)
1/*
2 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit)
3 *
4 * Copyright (C) 2014 Samsung Electronics
5 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
6 * Lukasz Majewski <l.majewski@samsung.com>
7 *
8 * Copyright (C) 2011 Samsung Electronics

--- 1382 unchanged lines hidden (view full) ---

1391err_sclk:
1392 clk_disable_unprepare(data->sclk);
1393err_clk:
1394 clk_unprepare(data->clk);
1395err_clk_sec:
1396 if (!IS_ERR(data->clk_sec))
1397 clk_unprepare(data->clk_sec);
1398err_sensor:
1/*
2 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit)
3 *
4 * Copyright (C) 2014 Samsung Electronics
5 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
6 * Lukasz Majewski <l.majewski@samsung.com>
7 *
8 * Copyright (C) 2011 Samsung Electronics

--- 1382 unchanged lines hidden (view full) ---

1391err_sclk:
1392 clk_disable_unprepare(data->sclk);
1393err_clk:
1394 clk_unprepare(data->clk);
1395err_clk_sec:
1396 if (!IS_ERR(data->clk_sec))
1397 clk_unprepare(data->clk_sec);
1398err_sensor:
1399 if (!IS_ERR_OR_NULL(data->regulator))
1399 if (!IS_ERR(data->regulator))
1400 regulator_disable(data->regulator);
1401
1402 return ret;
1403}
1404
1405static int exynos_tmu_remove(struct platform_device *pdev)
1406{
1407 struct exynos_tmu_data *data = platform_get_drvdata(pdev);

--- 57 unchanged lines hidden ---
1400 regulator_disable(data->regulator);
1401
1402 return ret;
1403}
1404
1405static int exynos_tmu_remove(struct platform_device *pdev)
1406{
1407 struct exynos_tmu_data *data = platform_get_drvdata(pdev);

--- 57 unchanged lines hidden ---