summaryrefslogtreecommitdiff
path: root/lib/crypto/chacha-block-generic.c
diff options
context:
space:
mode:
authorYang Xiuwei <yangxiuwei@kylinos.cn>2025-08-17 16:34:49 +0800
committerKevin Hilman <khilman@baylibre.com>2025-09-05 14:26:41 -0700
commit045e81d8d7e65baefbd4dea0503ca3330f93f3e6 (patch)
treed66d19fb5aba314ffc33cda108c825047aeaa8cd /lib/crypto/chacha-block-generic.c
parent8a6506e1ba0d2b831729808d958aae77604f12f9 (diff)
ARM: OMAP2+: use IS_ERR_OR_NULL() helper
Simplify error handling in OMAP powerdomain, voltage, and VP code by replacing open-coded '!ptr || IS_ERR(ptr)' checks with the combined IS_ERR_OR_NULL() helper. This improves readability and consistency across omap_set_pwrdm_state(), voltdm_get_voltage(), voltdm_scale(), voltdm_reset(), and related functions. No functional change intended. Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn> Reviewed-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20250817083449.2249268-1-yangxiuwei2025@163.com Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lib/crypto/chacha-block-generic.c')
0 files changed, 0 insertions, 0 deletions