Thread (3 messages) 3 messages, 2 authors, 2026-02-28

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

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2026-02-28 11:12:25
Also in: linux-sound, lkml

On Mon, Feb 02, 2026 at 05:16:11AM +0000, Peng Fan wrote:
quoted
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@linux.intel.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Thanks!

Mark, did this slip through cracks?

-- 
With Best Regards,
Andy Shevchenko


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help