diff options
| author | Dan Carpenter <[email protected]> | 2023-02-27 10:07:09 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-03-01 18:34:54 +0000 |
| commit | f43523620f646c89ffd8ada840a0068290e51266 (patch) | |
| tree | 23f5dcbe4a2fe4d02b0690607cb61b61b37cb93e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cpufreq: intel_pstate: remove MODULE_LICENSE in non-modules (diff) | |
| download | kernel-f43523620f646c89ffd8ada840a0068290e51266.tar.gz kernel-f43523620f646c89ffd8ada840a0068290e51266.zip | |
cpufreq: apple-soc: Fix an IS_ERR() vs NULL check
The of_iomap() function returns NULL if it fails. It never returns
error pointers. Fix the check accordingly.
Fixes: 6286bbb40576 ("cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Eric Curtin <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
