]> 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)
commitf1eddf57e8ef15e4dfee5952bc8863aaed0f69fd
treea42131a85fb16f5b28f11eb22e3a8dd49bfe7dbe
parent32df8cce2f53b27a7862107b64fb120c19cb8efa
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: 4a0aa672fba8 ("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