Skip to content

Commit 6bcffdd

Browse files
dlechjic23
authored andcommitted
iio: ABI: remove duplicate in_resistance_calibbias
In commit 0f718e1 ("iio: ABI: add missing calibbias attributes"), the in_resistance_calibbias attribute was added to the main IIO ABI documentation. This attribute is was already documented in sysfs-bus-iio-chemical-sgp40. This resulted in a duplicate entry that is causing documentation build warnings. This removes the attribute from the sgp40 documentation in favor of the main IIO ABI documentation since this attribute fits the established pattern of standard IIO attributes. Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/linux-next/[email protected]/ Signed-off-by: David Lechner <[email protected]> Link: https://patch.msgid.link/20240820-iio-abi-remove-dup-in_resistance_calibbias-v1-1-e64e58cabb14@baylibre.com Signed-off-by: Jonathan Cameron <[email protected]>
1 parent bd5eebf commit 6bcffdd

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,3 @@ Description:
1515
Set the relative humidity. This value is sent to the sensor for
1616
humidity compensation.
1717
Default value: 50000 (50 % relative humidity)
18-
19-
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
20-
Date: August 2021
21-
KernelVersion: 5.15
22-
Contact: Andreas Klinger <[email protected]>
23-
Description:
24-
Set the bias value for the resistance which is used for
25-
calculation of in_concentration_input as follows:
26-
27-
x = (in_resistance_raw - in_resistance_calibbias) * 0.65
28-
29-
in_concentration_input = 500 / (1 + e^x)
30-
31-
Default value: 30000

0 commit comments

Comments
 (0)