OSDN Git Service

PM / devfreq: exynos-bus: Reduce goto statements and remove unused headers
authorArtur Świgoń <a.swigon@samsung.com>
Mon, 16 Dec 2019 10:47:48 +0000 (11:47 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 30 Dec 2019 00:59:06 +0000 (09:59 +0900)
commita440892142118e68d05940fde66afd0278ce3d45
tree9d62a659a4db23c489d4ce95904af8bef8e58290
parenteff5d31f7407fa9d31fb840106f1593399457298
PM / devfreq: exynos-bus: Reduce goto statements and remove unused headers

Improve code readability by changing the goto statements
as well as eliminating a few more goto statements (related to return
paths). Moreover, remove unused header file and adds a missing <linux/of.h>.

Signed-off-by: Artur Świgoń <a.swigon@samsung.com>
[cw00.choi: Edit patch title and description]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/exynos-bus.c