PM / clock_ops: Provide default runtime ops to users
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 23 Apr 2015 08:33:09 +0000 (14:03 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 May 2015 21:55:37 +0000 (23:55 +0200)
commit75f504004ab866c8f84749303b0f70953724e259
tree6da2563966637bab5da2a9377186aa9dd1afc015
parent030bbdbf4c833bc69f502eae58498bc5572db736
PM / clock_ops: Provide default runtime ops to users

Most users of PM clocks do the extact same things in the runtime
suspend/resume callbacks. Provide them USE_PM_CLK_RUNTIME_OPS so
as to avoid/remove boilerplate code.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/clock_ops.c
include/linux/pm_clock.h