clk: samsung: Add support for runtime PM
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 Aug 2017 08:05:00 +0000 (10:05 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Thu, 7 Sep 2017 22:25:46 +0000 (15:25 -0700)
commitd2f18d7e200b8714beffd4eae7f27335b311b2d5
tree38224603754e12e992c9d4fc785bf16fd3410732
parent9a34b45397e5a389e25a0c5d39983300d040e5e2
clk: samsung: Add support for runtime PM

This patch adds struct device pointer to samsung_clk_provider and forwarding it
to clk_register_* functions, so drivers can register clocks, which use runtime
pm feature.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1503302703-13801-3-git-send-email-m.szyprowski@samsung.com
drivers/clk/samsung/clk-pll.c
drivers/clk/samsung/clk.c
drivers/clk/samsung/clk.h