clk: imx: clk-gate2: Pass the device to the register function
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 13 Mar 2020 16:10:19 +0000 (18:10 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 01:38:30 +0000 (09:38 +0800)
commitb5881e8019e0d39c43a2da56c4ae616a50615e00
tree2e48a7fcefb91a2153a4dafd6cfaa3e634c4528a
parent4ae9afbaaeb9bd939ac2bb8d53828fdebca5ec1b
clk: imx: clk-gate2: Pass the device to the register function

The device needs to be passed on to the clk_hw_register.

Fixes: 1f9aec9662566189 ("clk: imx: clk-gate2: Switch to clk_hw based API")
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-gate2.c