[PATCH v1 1/1] ASoC: pxa2xx-ac97: Use devm_gpiod_get_optional()

Peng Fan peng.fan at nxp.com
Sun Feb 1 21:16:11 PST 2026


> Subject: [PATCH v1 1/1] ASoC: pxa2xx-ac97: Use
> devm_gpiod_get_optional()
> 
> No need to open code the devm_gpiod_get_optional() wrapper.
> Instead of checking for a certain error code, check for NULL.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list