linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] HID: sensor-hub: Fix typo and improve documentation
@ 2025-05-07  5:57 Chelsy Ratnawat
  2025-05-07 13:24 ` David Lechner
  0 siblings, 1 reply; 3+ messages in thread
From: Chelsy Ratnawat @ 2025-05-07  5:57 UTC (permalink / raw)
  To: jikos, bentiss, jic23, srinivas.pandruvada, dlechner
  Cc: linux-input, linux-iio, linux-kernel, Chelsy Ratnawat

Includes the following corrections -
 - Changed Measurment -> Measurement
 - Changed clode -> close
 - Gyro -> gyro

Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
---
Changes in v2 -
 - Changed  X-AXIS -> X-axis

 include/linux/hid-sensor-hub.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h
index 0f9f7df865db..e71056553108 100644
--- a/include/linux/hid-sensor-hub.h
+++ b/include/linux/hid-sensor-hub.h
@@ -17,7 +17,7 @@
  * @attrib_id:		Attribute id for this attribute.
  * @report_id:		Report id in which this information resides.
  * @index:		Field index in the report.
- * @units:		Measurment unit for this attribute.
+ * @units:		Measurement unit for this attribute.
  * @unit_expo:		Exponent used in the data.
  * @size:		Size in bytes for data size.
  * @logical_minimum:	Logical minimum value for this attribute.
@@ -39,8 +39,8 @@ struct hid_sensor_hub_attribute_info {
  * struct sensor_hub_pending - Synchronous read pending information
  * @status:		Pending status true/false.
  * @ready:		Completion synchronization data.
- * @usage_id:		Usage id for physical device, E.g. Gyro usage id.
- * @attr_usage_id:	Usage Id of a field, E.g. X-AXIS for a gyro.
+ * @usage_id:		Usage id for physical device, e.g. gyro usage id.
+ * @attr_usage_id:	Usage Id of a field, e.g. X-axis for a gyro.
  * @raw_size:		Response size for a read request.
  * @raw_data:		Place holder for received response.
  */
@@ -104,10 +104,10 @@ struct hid_sensor_hub_callbacks {
 int sensor_hub_device_open(struct hid_sensor_hub_device *hsdev);
 
 /**
-* sensor_hub_device_clode() - Close hub device
+* sensor_hub_device_close() - Close hub device
 * @hsdev:	Hub device instance.
 *
-* Used to clode hid device for sensor hub.
+* Used to close hid device for sensor hub.
 */
 void sensor_hub_device_close(struct hid_sensor_hub_device *hsdev);
 
-- 
2.43.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] HID: sensor-hub: Fix typo and improve documentation
  2025-05-07  5:57 [PATCH v2] HID: sensor-hub: Fix typo and improve documentation Chelsy Ratnawat
@ 2025-05-07 13:24 ` David Lechner
  2025-05-08 19:14   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: David Lechner @ 2025-05-07 13:24 UTC (permalink / raw)
  To: Chelsy Ratnawat, jikos, bentiss, jic23, srinivas.pandruvada
  Cc: linux-input, linux-iio, linux-kernel

On 5/7/25 12:57 AM, Chelsy Ratnawat wrote:
> Includes the following corrections -
>  - Changed Measurment -> Measurement
>  - Changed clode -> close
>  - Gyro -> gyro
> 
> Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
> ---
Reviewed-by: David Lechner <dlechner@baylibre.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] HID: sensor-hub: Fix typo and improve documentation
  2025-05-07 13:24 ` David Lechner
@ 2025-05-08 19:14   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2025-05-08 19:14 UTC (permalink / raw)
  To: David Lechner
  Cc: Chelsy Ratnawat, jikos, bentiss, srinivas.pandruvada, linux-input,
	linux-iio, linux-kernel

On Wed, 7 May 2025 08:24:48 -0500
David Lechner <dlechner@baylibre.com> wrote:

> On 5/7/25 12:57 AM, Chelsy Ratnawat wrote:
> > Includes the following corrections -
> >  - Changed Measurment -> Measurement
> >  - Changed clode -> close
> >  - Gyro -> gyro
> > 
> > Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
> > ---  
> Reviewed-by: David Lechner <dlechner@baylibre.com>
> 

Applied

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-08 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07  5:57 [PATCH v2] HID: sensor-hub: Fix typo and improve documentation Chelsy Ratnawat
2025-05-07 13:24 ` David Lechner
2025-05-08 19:14   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).