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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Sat Feb 28 03:12:20 PST 2026


On Mon, Feb 02, 2026 at 05:16:11AM +0000, Peng Fan wrote:
> > 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>

Thanks!

Mark, did this slip through cracks?

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list