]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Pass correct arguments to __clk_hw_register_gate()
authorStephen Boyd <sboyd@kernel.org>
Wed, 25 Mar 2020 02:22:57 +0000 (19:22 -0700)
committerStephen Boyd <sboyd@kernel.org>
Thu, 26 Mar 2020 00:38:23 +0000 (17:38 -0700)
commit056a4b282bc8e4ecf12fbc2b7b03aed70a5c3751
treea42131a85fb16f5b28f11eb22e3a8dd49bfe7dbe
parentc33d7a456c31cc763cf391d50511c086e85e779f
clk: Pass correct arguments to __clk_hw_register_gate()

I copy/pasted these macros and forgot to update the argument
names and where they're passed to. Fix it so that these macros make
sense.

Reported-by: Maxime Ripard <maxime@cerno.tech>
Fixes: ab47db938adc ("clk: gate: Add support for specifying parents via DT/pointers")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200325022257.148244-1-sboyd@kernel.org
Tested-by: Maxime Ripard <mripard@kernel.org>
include/linux/clk-provider.h