Skip to contentSkip to conversation

HID: logitech-hidpp: remove excess kernel-doc member in hidpp_scroll_counter

PATCH Applied Rosen Penev 2 participants 2 messages May 31 – Jun 1

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: logitech-hidpp: remove excess kernel-doc member in hidpp_scroll_counter

The @dev member described in the kernel-doc does not exist in the struct. Remove the stale entry.

Fixes 0610430e3dea ("HID: logitech-hidpp: add input_device ptr to struct

hidpp_device")

Assisted-by opencode:big-pickle
---
 drivers/hid/hid-logitech-hidpp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hid/hid-logitech-hidpp.c +0 -1
index ccbf28869a96..1990ba5b26ea 100644
@@ -164,7 +164,6 @@ struct hidpp_battery {
 /**
  * struct hidpp_scroll_counter - Utility class for processing high-resolution
  *                             scroll events.
- * @dev: the input device for which events should be reported.
  * @wheel_multiplier: the scalar multiplier to be applied to each wheel event
  * @remainder: counts the number of high-resolution units moved since the last
  *             low-resolution event (REL_WHEEL or REL_HWHEEL) was sent. Should
Signature · 1 line
2.54.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Rosen Penev

The @dev member described in the kernel-doc does not exist in the struct. Remove the stale entry.

Fixes 0610430e3dea ("HID: logitech-hidpp: add input_device ptr to struct

hidpp_device")

Assisted-by opencode:big-pickle

[...]

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-7.2/logitech), thanks!

[1/1] HID: logitech-hidpp: remove excess kernel-doc member in hidpp_scroll_counter

      https://git.kernel.org/hid/hid/c/f22a5db8a7d3

Cheers,

Signature · 1 line
Benjamin Tissoires <[email protected]>