Skip to content
Commit d2ac2579 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

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: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 248ae175
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment