[PATCH] ARM: OMAP2+: use IS_ERR_OR_NULL() helper
Kevin Hilman
khilman at baylibre.com
Fri Sep 5 15:22:13 PDT 2025
On Sun, 17 Aug 2025 16:34:49 +0800, Yang Xiuwei wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] ARM: OMAP2+: use IS_ERR_OR_NULL() helper
commit: 045e81d8d7e65baefbd4dea0503ca3330f93f3e6
Best regards,
--
Kevin Hilman <khilman at baylibre.com>
More information about the linux-arm-kernel
mailing list