summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-07 17:52:30 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-11 12:17:02 +0300
commited9e8d136f6d3d3265ee91bebf6fc934d5ba5a96 (patch)
treedcbd001e8dc9b6b8ffa54b0674eb0e38a2837d8a /include/linux
parent33f909fdd151affe93941d4433b9ca62c3a1a8c5 (diff)
downloadlinux-ed9e8d136f6d3d3265ee91bebf6fc934d5ba5a96.tar.xz
gpio: mockup: don't access internal GPIOLIB structures
Don't include gpiolib.h. Track the request status of lines locally instead. In order to retrieve the device name use the fact that gpio-mockup supports only a single GPIO device per platform device and call device_find_any_child(). Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions