OSDN Git Service

clk: samsung: s3c2443: Use generic helper for handling suspend/resume
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 6 Sep 2018 15:55:26 +0000 (17:55 +0200)
committerSylwester Nawrocki <snawrocki@kernel.org>
Thu, 6 Sep 2018 18:47:08 +0000 (20:47 +0200)
commitb5331e2feafe508f51a8a2b668cdf402f04ccc10
tree759ef4371c2b8c2cf74456697fe9cdad23a7b805
parent1b3493d755c85b0fd206b7e5f04ce7050af90c41
clk: samsung: s3c2443: 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-s3c2443.c