diff options
| author | 2026-09-18 11:41:30 +0700 | |
|---|---|---|
| committer | 2026-09-18 18:12:17 -0400 | |
| commit | e98e3d712023859af7cd78bb7fdb87ea3a9ffb83 (patch) | |
| tree | e31b5f95e8ba048e1127ba4922697559688105c1 /scripts/Makefile.thinlto | |
| parent | clk: actions: owl-pll: cast delay to unsigned long for udelay() (diff) | |
clk: raspberrypi: Handle cpufreq device registration failure
Check the return value of platform_device_register_data() when
registering the raspberrypi-cpufreq device and propagate the error
if registration fails.
This prevents the clock driver from reporting a successful probe
when the cpufreq device could not be registered.
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Fixes: e2bb18347c8e5 ("clk: raspberrypi: register platform device for raspberrypi-cpufreq")
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
