OpenCloudOS-Kernel/drivers/clk/ti
Jakob Koschel 560a3164c9 clk: ti: clkctrl: replace usage of found with dedicated list iterator variable
To move the list iterator variable into the list_for_each_entry_*()
macro in the future it should be avoided to use the list iterator
variable after the loop body.

To *never* use the list iterator variable after the loop it was
concluded to use a separate iterator variable instead of a
found boolean [1].

This removes the need to use a found variable and simply checking if
the variable was set, can determine if the break/goto was hit.

Link: https://lore.kernel.org/all/CAHk-=wgRr_D8CB-D9Kg-c=EHreAsk5SqXPwr9Y7k9sA6cWXJ6w@mail.gmail.com/
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Link: https://lore.kernel.org/r/20220324071019.59483-1-jakobkoschel@gmail.com
Tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-05-20 20:40:58 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile clk: ti: Drop legacy compatibility clocks for dra7 2022-03-15 14:07:27 -07:00
adpll.c clk/ti/adpll: Make const pointer error a static const array 2021-12-09 17:15:15 -08:00
apll.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
autoidle.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
clk-2xxx.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-3xxx.c clk: ti: omap3: cleanup unnecessary clock aliases 2017-12-01 15:17:17 +02:00
clk-7xx.c clk: ti: Drop legacy compatibility clocks for dra7 2022-03-15 14:07:27 -07:00
clk-33xx.c clk: ti: Drop legacy compatibility clocks for am3 2022-03-15 14:07:27 -07:00
clk-43xx.c clk: ti: Drop legacy compatibility clocks for am4 2022-03-15 14:07:27 -07:00
clk-44xx.c clk: ti: omap4: Drop idlest polling from IVA clkctrl clocks 2020-11-19 14:21:27 +02:00
clk-54xx.c clk: ti: omap5: Add missing gpmc and ocmc clkctrl 2021-03-10 13:59:18 +02:00
clk-814x.c clk: ti: Fix dm814x clkctrl for ethernet 2020-03-17 09:45:24 -07:00
clk-816x.c clk: ti: dm816: enable sysclk6_ck on init 2020-05-19 09:38:03 -07:00
clk-dra7-atl.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
clk.c clk: ti: Add ti_dt_clk_name() helper to use clock-output-names 2022-03-10 18:55:59 -08:00
clkctrl.c clk: ti: clkctrl: replace usage of found with dedicated list iterator variable 2022-05-20 20:40:58 -07:00
clkt_dflt.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt_dpll.c clk: ti: clkt_dpll: Fix some kernel-doc misdemeanours 2021-02-10 19:42:41 -08:00
clkt_iclk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clock.h clk: ti: Drop legacy compatibility clocks for am4 2022-03-15 14:07:27 -07:00
clockdomain.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
composite.c clk: ti: composite: Prefer kcalloc over open coded arithmetic 2022-05-20 20:40:07 -07:00
divider.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
dpll.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
dpll3xxx.c clk: ti: add am33xx/am43xx spread spectrum clock support 2021-06-08 17:49:16 -07:00
dpll44xx.c clk: ti: dpll44xx: Fix some potential doc-rot 2021-02-11 11:56:05 -08:00
fapll.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
fixed-factor.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
gate.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
interface.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00
mux.c clk: ti: Update component clocks to use ti_dt_clk_name() 2022-03-10 18:55:59 -08:00