Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

auxdisplay: seg-led-gpio: use gpiod_multi_set_value_cansleep

Reduce verbosity by using gpiod_multi_set_value_cansleep() instead of
gpiod_set_array_value_cansleep().

Acked-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

David Lechner and committed by
Andy Shevchenko
d5808b5b 76256c6e

+1 -2
+1 -2
drivers/auxdisplay/seg-led-gpio.c
··· 36 36 37 37 bitmap_set_value8(values, map_to_seg7(&map->map.seg7, linedisp->buf[0]), 0); 38 38 39 - gpiod_set_array_value_cansleep(priv->segment_gpios->ndescs, priv->segment_gpios->desc, 40 - priv->segment_gpios->info, values); 39 + gpiod_multi_set_value_cansleep(priv->segment_gpios, values); 41 40 } 42 41 43 42 static int seg_led_linedisp_get_map_type(struct linedisp *linedisp)