Skip to content

Commit ff0e9ee

Browse files
Lee Jonesbentiss
authored andcommitted
HID: hid-sensor-hub: Move 'hsdev' description to correct struct definition
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-sensor-hub.c:54: warning: Function parameter or member 'hsdev' not described in 'hid_sensor_hub_callbacks_list' Cc: Jiri Kosina <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Srinivas Pandruvada <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 07b34dd commit ff0e9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-sensor-hub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
/**
2020
* struct sensor_hub_data - Hold a instance data for a HID hub device
21-
* @hsdev: Stored hid instance for current hub device.
2221
* @mutex: Mutex to serialize synchronous request.
2322
* @lock: Spin lock to protect pending request structure.
2423
* @dyn_callback_list: Holds callback function
@@ -41,6 +40,7 @@ struct sensor_hub_data {
4140
* struct hid_sensor_hub_callbacks_list - Stores callback list
4241
* @list: list head.
4342
* @usage_id: usage id for a physical device.
43+
* @hsdev: Stored hid instance for current hub device.
4444
* @usage_callback: Stores registered callback functions.
4545
* @priv: Private data for a physical device.
4646
*/

0 commit comments

Comments
 (0)