core: Fix gpiod_line_bulk_reset type
authorJoel Stanley <joel@jms.id.au>
Wed, 2 Feb 2022 12:32:48 +0000 (23:02 +1030)
committerBartosz Golaszewski <brgl@bgdev.pl>
Fri, 18 Feb 2022 18:36:26 +0000 (19:36 +0100)
commiteea0d9df556718c3175002277b7f06322dfebaa6
tree71a8243a865b01f30569136727cd3882e7ddd5c3
parentd2327948c657231fd3f8366e73472c9c346450f2
core: Fix gpiod_line_bulk_reset type

bulk->lines is an array of pointers, so it doesn't matter which pointer
type we specify to sizeof(). As it's a struct gpiod_line *, it would
make sense to use that.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
lib/core.c