]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: samsung: s3c2410: Use generic helper for handling suspend/resume
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 6 Sep 2018 15:55:24 +0000 (17:55 +0200)
committerSylwester Nawrocki <snawrocki@kernel.org>
Thu, 6 Sep 2018 18:46:47 +0000 (20:46 +0200)
commit6bdac3b4c493f86554bc11013d47d31243022beb
tree2b6044681319195c557a5c8a39f56182f8041123
parent53e6ab3d07506895a7eef217612bba921b8bf108
clk: samsung: s3c2410: 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-s3c2410.c