History

gpio: uapi: document possible values of gpioevent_data.id

Clarify the possible values of event id, rather than requiring the reader to infer.

Kent Gibson committed 2 years ago

Commit ead7c581 parent a6beb0b1 file · +2 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/gpio.h+2−1
@@ -490,7 +490,8 @@ struct gpioevent_request { · 489 unmodified lines
490/**490/**
491 * struct gpioevent_data - The actual event being pushed to userspace491 * struct gpioevent_data - The actual event being pushed to userspace
492 * @timestamp: best estimate of time of event occurrence, in nanoseconds492 * @timestamp: best estimate of time of event occurrence, in nanoseconds
493 * @id: event identifier493 * @id: event identifier, one of %GPIOEVENT_EVENT_RISING_EDGE or
494 * %GPIOEVENT_EVENT_FALLING_EDGE
494 *495 *
495 * Note: This struct is part of ABI v1 and is deprecated.496 * Note: This struct is part of ABI v1 and is deprecated.
496 * Use &struct gpio_v2_line_event instead.497 * Use &struct gpio_v2_line_event instead.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t