summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-03-08 14:59:50 +0800
committerMark Brown <broonie@kernel.org>2026-03-16 01:15:59 +0000
commit8abf84f76a546c320c788cd7a8c5e3abea9b2b38 (patch)
tree1499fa2426b4494aac60efe34f440c1e6c60a897 /tools/perf/scripts/python
parent869d5b4b2a8012f6ef6058a1055cac6922c2cb55 (diff)
spi: amlogic-spisg: Use IS_ERR() instead of IS_ERR_OR_NULL()
devm_clk_get_enabled() and devm_clk_hw_get_clk() return error pointers on failure and never return NULL. So IS_ERR_OR_NULL() is unnecessary, replace them with IS_ERR(). Signed-off-by: Felix Gu <ustc.gu@gmail.com> Link: https://patch.msgid.link/20260308-spisg-1-v1-1-4e209faf228d@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions