projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mm-hotfixes-stable-2023-08-11-13-44' of git://git.kernel.org/pub/scm/linux...
[platform/kernel/linux-rpi.git]
/
drivers
/
cpufreq
/
apple-soc-cpufreq.c
diff --git
a/drivers/cpufreq/apple-soc-cpufreq.c
b/drivers/cpufreq/apple-soc-cpufreq.c
index
c11d22f
..
021f423
100644
(file)
--- a/
drivers/cpufreq/apple-soc-cpufreq.c
+++ b/
drivers/cpufreq/apple-soc-cpufreq.c
@@
-189,8
+189,8
@@
static int apple_soc_cpufreq_find_cluster(struct cpufreq_policy *policy,
*info = match->data;
*reg_base = of_iomap(args.np, 0);
- if (
IS_ERR(*reg_base)
)
- return
PTR_ERR(*reg_base)
;
+ if (
!*reg_base
)
+ return
-ENOMEM
;
return 0;
}