diff options
| author | Stephen Boyd <[email protected]> | 2025-02-26 23:54:07 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2025-03-04 21:53:48 +0000 |
| commit | 12a0fd23e87000e69b1777a9765c0c6e6eed0cd9 (patch) | |
| tree | 8814b8b4e278f1bccd5672b434311058d4c0f946 /lib/netdev-notifier-error-inject.c | |
| parent | clk: Correct the data types of the variables in clk_calc_new_rates (diff) | |
| download | kernel-12a0fd23e87000e69b1777a9765c0c6e6eed0cd9.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
