diff options
author | 2025-02-26 15:54:07 -0800 | |
---|---|---|
committer | 2025-03-04 13:53:48 -0800 | |
commit | 12a0fd23e87000e69b1777a9765c0c6e6eed0cd9 (patch) | |
tree | 8814b8b4e278f1bccd5672b434311058d4c0f946 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | clk: Correct the data types of the variables in clk_calc_new_rates (diff) | |
download | linux-rng-12a0fd23e87000e69b1777a9765c0c6e6eed0cd9.tar.xz linux-rng-12a0fd23e87000e69b1777a9765c0c6e6eed0cd9.zip |
clk: Print an error when clk registration fails
We have a lot of driver code that prints an error message when
registering a clk fails. Do that in the core function instead to
consolidate code. This also helps drivers avoid the anti-pattern of
accessing the struct clk_hw::init pointer after registration.
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20250226235408.1339266-1-sboyd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions