[Concept,13/23] expo: Tidy up comments for enum expoact_type

Message ID 20250915122905.1217249-14-sjg@u-boot.org
State New
Headers
Series expo: Support interactions with a mouse or touchpad |

Commit Message

Simon Glass Sept. 15, 2025, 12:28 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Some of the comments in this enum and the struct which uses it are
out-of-date. Fix this up.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/expo.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Patch

diff --git a/include/expo.h b/include/expo.h
index f49a6fc5dce..571ba513fa6 100644
--- a/include/expo.h
+++ b/include/expo.h
@@ -41,8 +41,8 @@  enum expo_id_t {
  * enum expoact_type - types of actions reported by the expo
  *
  * @EXPOACT_NONE: no action
- * @EXPOACT_POINT_OBJ: object was highlighted (@id indicates which)
- * @EXPOACT_POINT_ITEM: menu item was highlighted (@id indicates which)
+ * @EXPOACT_POINT_OBJ: object was highlighted (@id indicates which object)
+ * @EXPOACT_POINT_ITEM: menu item was highlighted (@id indicates which item)
  * @EXPOACT_SELECT: menu item was selected (@id indicates which)
  * @EXPOACT_OPEN: menu was opened, so an item can be selected (@id indicates
  * which menu object)
@@ -63,8 +63,8 @@  enum expoact_type {
  * struct expo_action - an action report by the expo
  *
  * @type: Action type (EXPOACT_NONE if there is no action)
- * @select: Used for EXPOACT_POINT_ITEM and EXPOACT_SELECT
- * @select.id: ID number of the object affected.
+ * @select: Used for all actions except EXPOACT_NONE and EXPOACT_QUIT
+ * @select.id: ID number of the object affected
  * @select.changed: true if the selection has changed since last time (only
  * valid for EXPOACT_POINT_ITEM)
  */