]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: twl4030-charger: remove nonstandard max_current sysfs attribute
authorH. Nikolaus Schaller <hns@goldelico.com>
Sun, 21 May 2017 10:38:16 +0000 (12:38 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 8 Jun 2017 11:05:28 +0000 (13:05 +0200)
commite01a4b5ecf7f98ac38e6ca2809072f4067ac3c0a
tree7488b94e28445c7ac61acc1aa6fcacccce5bef42
parent773b4e66ba8d47709ed11a517049b76d5d7ba057
power: supply: twl4030-charger: remove nonstandard max_current sysfs attribute

Since we now support the standard 'input_current_limit' property by

commit 7120b3fc1902 ("power: supply: twl4030-charger: add writable INPUT_CURRENT_LIMIT property")

we can now remove the nonstandard 'max_current' sysfs attribute.

See Documentation/power/power_supply_class.txt line 125

Both are functionally equivalent. From ABI point of view it is just a rename
of the property.

This also removes the entry in Documentation/ABI/testing/sysfs-class-power-twl4030

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/ABI/testing/sysfs-class-power-twl4030
drivers/power/supply/twl4030_charger.c