[PATCH RFC v2 4/6] ARM: pxa: Convert reset driver to GPIO descriptors
Andy Shevchenko
andy at kernel.org
Tue Sep 26 09:17:25 PDT 2023
On Tue, Sep 26, 2023 at 05:46:25PM +0200, Duje Mihanović wrote:
> The PXA reset driver still uses the legacy GPIO interface for
> configuring and asserting the reset pin.
>
> Convert it to use the GPIO descriptor interface.
...
> +static struct gpio_desc *reset_gpio = NULL;
Assignment is not needed, it's guaranteed to be NULL by the C standard.
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list