Skip to contentSkip to conversation

power: supply: fix table problem in sysfs-class-power

PATCH In review Randy Dunlap 2 participants 2 messages Jan 18, 2022 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: supply: fix table problem in sysfs-class-power

Add a bottom table border to complete the table format and prevent a documentation build warning.

Documentation/ABI/testing/sysfs-class-power:459: WARNING: Malformed table. No bottom table border found.

Fixes 1b0b6cc8030d0 ("power: supply: add charge_behaviour attributes")
Cc Thomas Weißschuh <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Stephen Rothwell <[email protected]>
---
 Documentation/ABI/testing/sysfs-class-power |    1 +
 1 file changed, 1 insertion(+)
Documentation/ABI/testing/sysfs-class-power +1 -0
@@ -468,6 +468,7 @@ Description:
 			auto:            Charge normally, respect thresholds
 			inhibit-charge:  Do not charge while AC is attached
 			force-discharge: Force discharge while AC is attached
+			================ ====================================
 
 What:		/sys/class/power_supply/<supply_name>/technology
 Date:		May 2007
#1 lore raw

Hi,

Quoted 6 lines · Randy Dunlap

Add a bottom table border to complete the table format and prevent a documentation build warning.

Documentation/ABI/testing/sysfs-class-power:459: WARNING: Malformed table. No bottom table border found.

Quoted 7 lines
Fixes 1b0b6cc8030d0 ("power: supply: add charge_behaviour attributes")
Cc Thomas Weißschuh <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Stephen Rothwell <[email protected]>

Randy, thank you for the patch.

Sebastian, assuming you will merge 5.17-rc1 into your tree, this could be merged through your tree (since this is a psy patch).

Since I've merged the original patch introducing this; and since I've a bunch of other fixed lined up for 5.17 already, I would also be happy to merge this through the pdx86 tree. Sebastian, please let me know how you want to proceed with this ?

Regards,

Hans

Quoted 15 lines
---
 Documentation/ABI/testing/sysfs-class-power |    1 +
 1 file changed, 1 insertion(+)
Documentation/ABI/testing/sysfs-class-power +1 -0
@@ -468,6 +468,7 @@ Description:
 			auto:            Charge normally, respect thresholds
 			inhibit-charge:  Do not charge while AC is attached
 			force-discharge: Force discharge while AC is attached
+			================ ====================================
 
 What:		/sys/class/power_supply/<supply_name>/technology
 Date:		May 2007