commit | d0a9ddcb9cfe199cffcb6946dcc8b6e358b128ff | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Thu Nov 26 14:11:54 2020 +0100 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Dec 14 15:57:15 2020 +0100 |
tree | ef17d1432e6cfb55257096e8d07331bef1608d8a | |
parent | 5e9e7223a3633ee82b557d21b1f18aa15becd450 [diff] |
core: kill chip iterators Chip iterators require the user to have permission to access all GPIO chips. They also don't take into account symbolic links. In general they're badly designed so remove them treewide in favor of scanning /dev manually using the provided gpiod_is_gpiochip_device() helper. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>