From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@kernel.org (Kevin Hilman) Date: Fri, 07 Nov 2014 11:25:14 -0800 Subject: [PATCH v4 2/3] PM / clock_ops: make __pm_clk_enable more generic In-Reply-To: <1415281862-23764-3-git-send-email-grygorii.strashko@ti.com> (Grygorii Strashko's message of "Thu, 6 Nov 2014 15:51:01 +0200") References: <1415281862-23764-1-git-send-email-grygorii.strashko@ti.com> <1415281862-23764-3-git-send-email-grygorii.strashko@ti.com> Message-ID: <7h1tpestid.fsf@deeprootsystems.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Grygorii Strashko writes: > Now there are two places in code which do the same things, > so allow __pm_clk_enable() to accept pointer on pm_clock_entry > structure as second parameter instead of pointer on clock and > remove duplicated code. > > Also, updated function intended to be used by following patch. > > CC: Santosh Shilimkar > CC: Kevin Hilman > CC: Ulf Hansson > CC: Geert Uytterhoeven > CC: Dmitry Torokhov > Signed-off-by: Grygorii Strashko Reviewed-by: Kevin Hilman