PM / devfreq: exynos: fix error path in exynos_bus_probe()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 28 Jun 2016 11:21:09 +0000 (13:21 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:27 +0000 (14:33 +0900)
commitc1a438cc0cda7debd9c43d4b071ed14ef5141a63
treecbf6b3b8f0c8669bcef38d0255d312b990512b94
parentcbc051d86795615f86defa7909e8376e7b9987f7
PM / devfreq: exynos: fix error path in exynos_bus_probe()

In case of exynos_bus_parse_of() failure the code shouldn't
try to remove the OPP table and disable+unprepare bus->clk
as it has been already handled in exynos_bus_parse_of().

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/exynos-bus.c