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)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 6 Jul 2016 04:11:24 +0000 (13:11 +0900)
commitc07e074b7cae0eff47453f96438c9a867aa6f82e
tree314dbea16d20d854ef1a5d17df11a96ddedaeb31
parenta63eb1a6aba46677602756167cdc981d2fa2ef62
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