Re: [PATCH RFC v2 4/6] ARM: pxa: Convert reset driver to GPIO descriptors

From: Andy Shevchenko
Date: Tue Sep 26 2023 - 12:17:38 EST


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