Searched hist:ea418b35103a98329cb019927cc3668c3759b9eb (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-mcp2221.c | diff ea418b35103a98329cb019927cc3668c3759b9eb Sat Oct 01 02:52:07 CEST 2022 Matt Ranostay <matt.ranostay@konsulko.com> HID: mcp2221: change 'select GPIOLIB' to imply
To avoid recursive dependencies on GPIOLIB when 'imply IIO' is requested with other drivers we should switch GPIOLIB to an imply.
This isn't the most ideal solution but avoids modifiying the Kconfig for other drivers, and only requires a singular IS_REACHABLE(CONFIG_GPIOLIB) check.
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | Kconfig | diff ea418b35103a98329cb019927cc3668c3759b9eb Sat Oct 01 02:52:07 CEST 2022 Matt Ranostay <matt.ranostay@konsulko.com> HID: mcp2221: change 'select GPIOLIB' to imply
To avoid recursive dependencies on GPIOLIB when 'imply IIO' is requested with other drivers we should switch GPIOLIB to an imply.
This isn't the most ideal solution but avoids modifiying the Kconfig for other drivers, and only requires a singular IS_REACHABLE(CONFIG_GPIOLIB) check.
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|