commit | d2ac25798208fb85f866056cd7d8030eb919da99 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Tue Dec 03 14:08:44 2019 +0100 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Feb 12 12:05:47 2020 +0100 |
tree | 955032d693ad09ee5ecaf1e7a4154f7d6f836c17 | |
parent | 248ae1752e91438cb7cfc8432b88bc34410e8e4e [diff] |
gpiolib: provide a dedicated function for setting lineinfo We'll soon be filling out the gpioline_info structure in multiple places. Add a separate function that given a gpio_desc sets all relevant fields. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>