Skip to content

Commit 27737b8

Browse files
ChelsyRatnawatjic23
authored andcommitted
HID: sensor-hub: Fix typo and improve documentation
Includes the following corrections - - Changed Measurment -> Measurement - Changed clode -> close - Gyro -> gyro Signed-off-by: Chelsy Ratnawat <[email protected]> Reviewed-by: David Lechner <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 6cdb400 commit 27737b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/linux/hid-sensor-hub.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @attrib_id: Attribute id for this attribute.
1818
* @report_id: Report id in which this information resides.
1919
* @index: Field index in the report.
20-
* @units: Measurment unit for this attribute.
20+
* @units: Measurement unit for this attribute.
2121
* @unit_expo: Exponent used in the data.
2222
* @size: Size in bytes for data size.
2323
* @logical_minimum: Logical minimum value for this attribute.
@@ -39,8 +39,8 @@ struct hid_sensor_hub_attribute_info {
3939
* struct sensor_hub_pending - Synchronous read pending information
4040
* @status: Pending status true/false.
4141
* @ready: Completion synchronization data.
42-
* @usage_id: Usage id for physical device, E.g. Gyro usage id.
43-
* @attr_usage_id: Usage Id of a field, E.g. X-AXIS for a gyro.
42+
* @usage_id: Usage id for physical device, e.g. gyro usage id.
43+
* @attr_usage_id: Usage Id of a field, e.g. X-axis for a gyro.
4444
* @raw_size: Response size for a read request.
4545
* @raw_data: Place holder for received response.
4646
*/
@@ -104,10 +104,10 @@ struct hid_sensor_hub_callbacks {
104104
int sensor_hub_device_open(struct hid_sensor_hub_device *hsdev);
105105

106106
/**
107-
* sensor_hub_device_clode() - Close hub device
107+
* sensor_hub_device_close() - Close hub device
108108
* @hsdev: Hub device instance.
109109
*
110-
* Used to clode hid device for sensor hub.
110+
* Used to close hid device for sensor hub.
111111
*/
112112
void sensor_hub_device_close(struct hid_sensor_hub_device *hsdev);
113113

0 commit comments

Comments
 (0)