clk: iproc: Minor tidy up of iproc pll data structures
authorLori Hikichi <lhikichi@broadcom.com>
Mon, 14 Aug 2017 19:00:41 +0000 (12:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:16:51 +0000 (13:16 +0200)
commit6048394657fdce1ee22c33bba243bdabe2991975
tree365a406fd26a3a31c2751110184204dabfae978b
parentaf21c7262f8bf41f04b79d53fa73085131e9618b
clk: iproc: Minor tidy up of iproc pll data structures

[ Upstream commit b33db49783763e1b2a63b12fbe0e91fb7147a987 ]

There were a few fields in the iproc pll data structures that were
holding information that was not true state information.
Using stack variables is sufficient and simplifies the structure.
There are not any functional changes in this commit.

Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Stable-dep-of: 1b24a132eba7 ("clk: iproc: Do not rely on node name for correct PLL setup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/bcm/clk-iproc-pll.c