diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-09-28 08:27:48 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-09-30 10:56:23 +0200 |
commit | 0dc11e3ad353e19b1a119e3146c69c0930ecae5f (patch) | |
tree | ccc32c2f31883b4202ae40921ada6ce980b5233a /COPYING | |
parent | 42e9acc679105208e001a2911c0241d968ab68e5 (diff) |
gpiolib: cdev: gpio_desc_to_lineinfo() should set info offset
Set the value of the line info offset in gpio_desc_to_lineinfo(), rather
than relying on it being passed in the info. This makes the function
behave as you would expect from the name - it generates the line info
corresponding to a given GPIO desc.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions