Re: [PATCH] pinctrl: nomadik: Add error handling for find_nmk_gpio_from_pin

From: Markus Elfring
Date: Thu Feb 20 2025 - 07:15:33 EST



> To fix this, add error handling to check the return value of
> find_nmk_gpio_from_pin. Log an error message indicating an
> invalid pin offset and return -EINVAL immediately If the function

if the function call?


> fails.

failed?


* You may occasionally put more than 66 characters into text lines
of such a change description.

* How do you think about to append parentheses to function names?


Regards,
Markus