Skip to contentSkip to conversation

Documentation: ABI: testing: iio: minor cleanup

PATCH Applied Manuel Ebner 3 participants 3 messages Jun 12 – Jun 21 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: ABI: testing: iio: minor cleanup

Add parenthesis and dashes.

---
 Documentation/ABI/testing/sysfs-bus-iio            | 10 +++++-----
 Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
Documentation/ABI/testing/sysfs-bus-iio +5 -5
index d8d6d85235b0..4ea5598e7cd2 100644
@@ -917,7 +917,7 @@ Description:
 
 		Note the driver will assume the last p events requested are
 		to be enabled where p is how many it supports (which may vary
-		depending on the exact set requested. So if you want to be
+		depending on the exact set requested). So if you want to be
 		sure you have set what you think you have, check the contents of
 		these attributes after everything is configured. Drivers may
 		have to buffer any parameters so that they are consistent when
@@ -973,7 +973,7 @@ Description:
 
 		Note the driver will assume the last p events requested are
 		to be enabled where p is however many it supports (which may
-		vary depending on the exact set requested. So if you want to be
+		vary depending on the exact set requested). So if you want to be
 		sure you have set what you think you have, check the contents of
 		these attributes after everything is configured. Drivers may
 		have to buffer any parameters so that they are consistent when
@@ -1528,9 +1528,9 @@ Description:
 		the unused bits, so to get a clean value the bits value must be
 		used to mask the buffer output value appropriately. The storagebits
 		value also specifies the data alignment. So s48/64>>2 will be a
-		signed 48 bit integer stored in a 64 bit location aligned to a 64
-		bit boundary. To obtain the clean value, shift right 2 and apply a
-		mask to zero the top 16 bits of the result.
+		signed 48-bit integer stored in a 64-bit location aligned to a
+		64-bit boundary. To obtain the clean value, shift right 2 and apply
+		a mask to zero the top 16 bits of the result.
 		For other storage combinations this attribute will be extended
 		appropriately.
 
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1 -1
index 28be1cabf112..d44eb5f8728b 100644
@@ -16,7 +16,7 @@ Description:
 		In bridge applications, such as strain gauges and load cells,
 		the bridge itself consumes the majority of the current in the
 		system. To minimize the current consumption of the system,
-		the bridge can be disconnected (when it is not being used
+		the bridge can be disconnected (when it is not being used)
 		using the bridge_switch_en attribute.
 
 What:		/sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Manuel Ebner

Add parenthesis and dashes.

LGTM,

...

Documentation/ABI/testing/sysfs-bus-iio Description: · line 1533

Quoted 8 lines
Documentation/ABI/testing/sysfs-bus-iio +3 -3
 		used to mask the buffer output value appropriately. The storagebits
 		value also specifies the data alignment. So s48/64>>2 will be a
-		signed 48 bit integer stored in a 64 bit location aligned to a 64
-		bit boundary. To obtain the clean value, shift right 2 and apply a
-		mask to zero the top 16 bits of the result.
+		signed 48-bit integer stored in a 64-bit location aligned to a
+		64-bit boundary. To obtain the clean value, shift right 2 and apply
+		a mask to zero the top 16 bits of the result.

We can reduce a churn by leaving 'a' as it was before (despite being long line). But I leave this exercise to Jonathan if he wants to.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Applied
#2 lore raw
Quoted 8 lines · On Wed, 17 Jun 2026 09:52:29 +0300 Andy Shevchenko…
Quoted 1 line · Manuel Ebner

Add parenthesis and dashes.

LGTM,

...

Quoted 11 lines

Documentation/ABI/testing/sysfs-bus-iio Description: · line 1533

Quoted 8 lines
Documentation/ABI/testing/sysfs-bus-iio +3 -3
 		used to mask the buffer output value appropriately. The storagebits
 		value also specifies the data alignment. So s48/64>>2 will be a
-		signed 48 bit integer stored in a 64 bit location aligned to a 64
-		bit boundary. To obtain the clean value, shift right 2 and apply a
-		mask to zero the top 16 bits of the result.
+		signed 48-bit integer stored in a 64-bit location aligned to a
+		64-bit boundary. To obtain the clean value, shift right 2 and apply
+		a mask to zero the top 16 bits of the result.  

We can reduce a churn by leaving 'a' as it was before (despite being long line). But I leave this exercise to Jonathan if he wants to.

True enough but I'm feeling lazy today (too hot and getting hotter :()

Applied.

Thanks,

Jonathan

Quoted 1 line