Re: [PATCH 1/2] driver core: platform: Introduce platform_get_irq_optional()

From: Stephen Boyd
Date: Wed Aug 28 2019 - 11:46:53 EST


Quoting Thierry Reding (2019-08-28 01:34:10)
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> In some cases the interrupt line of a device is optional. Introduce a
> new platform_get_irq_optional() that works much like platform_get_irq()
> but does not output an error on failure to find the interrupt.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---

Thanks!

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>