diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2017-04-14 20:25:56 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-05-01 11:37:11 +0200 |
commit | 3fb319c2cdcd10f775f4d4a05a7d12fa1a5679c1 (patch) | |
tree | 62effe4c64c90adf6de223ee1329af8695e8091a /drivers/infiniband | |
parent | 6cf62a3b97e78ba41d31390e59a1ddc98a9e3622 (diff) | |
download | blackbird-op-linux-3fb319c2cdcd10f775f4d4a05a7d12fa1a5679c1.tar.gz blackbird-op-linux-3fb319c2cdcd10f775f4d4a05a7d12fa1a5679c1.zip |
power: supply: twl4030-charger: add writable INPUT_CURRENT_LIMIT property
Currently, the twl4030 charger defines its own max_current by directly
creating sysfs nodes. It should use the input_current_limit property
which is e.g. used by the bq24257 driver.
This patch adds the input_current_property with the same semantics as
the max_current property. The code to manage the max_current property
is removed by a separate patch.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions