]> Git Repo - linux.git/commitdiff
HID: hid-sensor-hub: Move 'hsdev' description to correct struct definition
authorLee Jones <[email protected]>
Fri, 26 Mar 2021 14:34:56 +0000 (14:34 +0000)
committerBenjamin Tissoires <[email protected]>
Wed, 7 Apr 2021 16:46:21 +0000 (18:46 +0200)
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]>
drivers/hid/hid-sensor-hub.c

index 36b6852f75dd574d8d5e664f8f73c52ce50c38c5..95cf88f3bafb9c6c00d849529aeed5c0995abd31 100644 (file)
@@ -18,7 +18,6 @@
 
 /**
  * struct sensor_hub_data - Hold a instance data for a HID hub device
- * @hsdev:             Stored hid instance for current hub device.
  * @mutex:             Mutex to serialize synchronous request.
  * @lock:              Spin lock to protect pending request structure.
  * @dyn_callback_list: Holds callback function
@@ -41,6 +40,7 @@ struct sensor_hub_data {
  * struct hid_sensor_hub_callbacks_list - Stores callback list
  * @list:              list head.
  * @usage_id:          usage id for a physical device.
+ * @hsdev:             Stored hid instance for current hub device.
  * @usage_callback:    Stores registered callback functions.
  * @priv:              Private data for a physical device.
  */
This page took 0.044427 seconds and 4 git commands to generate.