diff options
author | Stephen Boyd <sboyd@kernel.org> | 2025-02-27 02:54:07 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-03-05 00:53:48 +0300 |
commit | 12a0fd23e87000e69b1777a9765c0c6e6eed0cd9 (patch) | |
tree | 8814b8b4e278f1bccd5672b434311058d4c0f946 /scripts/gdb/linux/interrupts.py | |
parent | a1123951b24759188010a6aa3d9d0be7b996bd39 (diff) | |
download | linux-12a0fd23e87000e69b1777a9765c0c6e6eed0cd9.tar.xz |
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 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions