diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2022-10-20 18:30:00 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-10-21 14:44:05 +0300 |
commit | 3d74c9eca1a2bda03e45f18d13154ac3e0dfba85 (patch) | |
tree | 3a32bd88231ed80539285d2550c9e459f2f947dc /tools/perf/scripts/python/sched-migration.py | |
parent | e91fc483552df10291f9efac5dd9241ca129f2a4 (diff) | |
download | linux-3d74c9eca1a2bda03e45f18d13154ac3e0dfba85.tar.xz |
HID: mcp2221: correct undefined references when CONFIG_GPIOLIB isn't defined
Singular #ifdef IS_REACHABLE(CONFIG_GPIOLIB) weren't covering all the
gpiolib functions that were being referenced.
Update the code regions that are commented out when CONFIG_GPIOLIB isn't
enabled to avoid errors.
Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions