[PATCH v2 20/30] gpio: nomadik: make clock optional

Linus Walleij linus.walleij at linaro.org
Thu Feb 29 01:33:35 PST 2024


On Wed, Feb 28, 2024 at 12:28 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:

> Not all platforms using this platform driver expose a clock for this
> GPIO controller. Turn devm_clk_get() into devm_clk_get_optional() to
> avoid failing when no clocks are provided.
>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list