clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 28 Oct 2020 12:58:58 +0000 (14:58 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 2 Nov 2020 23:55:11 +0000 (07:55 +0800)
commit12309428c27737c21735fb28540c6c6f69f632f6
treec391bdd8b4e4d6c9845c6ac2fcfdaccd66ff83b2
parent220175cd3979fdb860decf757cc7a5980fdd045f
clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case

This was a hack which would allow multiple HW gates to be controlled
by a single bit. The only user of this is the imx_dev_clk_hw_gate_shared
which is not used anywhere as of now. Basically, complicates the logic
of the driver for no reason.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-gate2.c
drivers/clk/imx/clk.h