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
490490 /**
491491 * struct gpioevent_data - The actual event being pushed to userspace
492492 * @timestamp: best estimate of time of event occurrence, in nanoseconds
493− * @id: event identifier
493+ * @id: event identifier, one of %GPIOEVENT_EVENT_RISING_EDGE or
494+ * %GPIOEVENT_EVENT_FALLING_EDGE
494495 *
495496 * Note: This struct is part of ABI v1 and is deprecated.
496497 * 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