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 <jikos@kernel.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: linux-iio@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parent 07b34dd commit ff0e9ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)