clk: samsung: exynos5250: Use generic helper for handling suspend/resume
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 6 Sep 2018 15:55:29 +0000 (17:55 +0200)
committerSylwester Nawrocki <snawrocki@kernel.org>
Fri, 5 Oct 2018 11:36:30 +0000 (13:36 +0200)
commitc41b0ff2f627c654475a287a21b2f455430f0923
tree173a65ba9e93ee7695fa8c28c46292d0451f0c6c
parent3ac0b61578a6e9edcedeb6b4d7c53c6f3c7ae916
clk: samsung: exynos5250: Use generic helper for handling suspend/resume

Replace common suspend/resume handling code by generic helper.
Almost no functional change, the only difference is in handling
of hypothetical memory allocation failure on boot.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sylwester Nawrocki <snawrocki@kernel.org>
drivers/clk/samsung/clk-exynos5250.c