diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-11-20 20:18:50 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-12-03 12:01:07 -0800 |
commit | 7def56f841af22e07977e193eea002e085facbdb (patch) | |
tree | 1ca89537de685060d1df0a603b166921c9ac0ce7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
clk: mmp: pxa1908-mpmu: Fix a NULL vs IS_ERR() check
The devm_kzalloc() function returns NULL on error, not error pointers.
Update the check to match.
Fixes: ebac87cdd230 ("clk: mmp: Add Marvell PXA1908 MPMU driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/5b3b963d-ecae-4819-be47-d82e8a58e64b@stanley.mountain
Acked-by: Duje Mihanović <duje.mihanovic@skole.hr>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions