docs: power: supply: fix inline strings
Subsystems (2)
Randy Dunlap
reviewerPATCH 1/1 docs: power: supply: fix inline strings
Consistently use string to quote code symbols.
This repairs the docs build warning:
Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]
---
Cc: Iván Ezequiel Rodriguez <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]
Documentation/power/power_supply_class.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/power/power_supply_class.rst +4 -4
@@ -97,7 +97,7 @@ AUTHENTIC HEALTH represents health of the battery. Values correspond to - POWER_SUPPLY_HEALTH_*, defined in include/linux/power_supply.h. + `POWER_SUPPLY_HEALTH_*`, defined in include/linux/power_supply.h. VOLTAGE_OCV open circuit voltage of the battery.
@@ -188,7 +188,7 @@ CAPACITY_ALERT_MIN CAPACITY_ALERT_MAX maximum capacity alert value in percents. CAPACITY_LEVEL - capacity level. This corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. + capacity level. This corresponds to `POWER_SUPPLY_CAPACITY_LEVEL_*`. TEMP temperature of the power supply.
@@ -209,8 +209,8 @@ TEMP_MAX TIME_TO_EMPTY_NOW, TIME_TO_EMPTY_AVG seconds left for battery to be considered empty - (i.e., while battery powers a load). *_NOW is a - momentary reading; *_AVG is averaged over a fixed period. + (i.e., while battery powers a load). `*_NOW` is a + momentary reading; `*_AVG` is averaged over a fixed period. TIME_TO_FULL_NOW, TIME_TO_FULL_AVG seconds left for battery to be considered full (i.e., while battery is charging). Same now/avg distinction.
Quoted 16 lines · Randy Dunlap
Consistently use
stringto quote code symbols.
This repairs the docs build warning:
Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]Reported-by kernel test robot <[email protected]>Signed-off-by Randy Dunlap <[email protected]>---
Cc: Iván Ezequiel Rodriguez <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]
Quoted 2 lines
Documentation/power/power_supply_class.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
jon