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

From: Peng Fan

Date: Mon Feb 02 2026 - 00:16:26 EST


> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Peng Fan <peng.fan@xxxxxxx>