Re: [PATCH v5 2/2] gpio: gpio-cascade: add generic GPIO cascade

From: Mauri Sandberg
Date: Fri Oct 15 2021 - 09:22:23 EST



On 21.6.2021 20.43, Andy Shevchenko wrote:

+ gc->of_node = np;

This should be guarded by CONFIG_OF_GPIO.
In the Kconfig I have a dependency to OF_GPIO. Is the guarding still necessary? Or should the guard be added and dependency removed? Or have them both?