]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpiolib: use v2 defines for line state change events
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 4 Oct 2024 14:43:22 +0000 (16:43 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Oct 2024 08:21:46 +0000 (10:21 +0200)
commitee194b12bf9a2f2ed57b9c5bc7a5f221f7f4a06f
treedf59e5cd8fcabbfa6704be439c305ed3c013e122
parent06c88b7ac9eed417f02cd748499b29318a9795be
gpiolib: use v2 defines for line state change events

We should only use v2 defines for line state change events. They will get
tranlated to v1 if needed by gpio_v2_line_info_changed_to_v1().

This isn't really a functional change as they have the same values but
let's do it for consistency.

Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20241004-gpio-notify-in-kernel-events-v1-1-8ac29e1df4fe@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c