diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-01 11:48:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-02 17:38:07 +0200 |
commit | b3a653288e1aeebcc7367dc6d5a42bccbff8bde1 (patch) | |
tree | 503bccff863fb8e3533fe191febf402588df8436 /lib/idr.c | |
parent | 146971e6244b18eca60f614a1b94048844066d23 (diff) | |
download | linux-b3a653288e1aeebcc7367dc6d5a42bccbff8bde1.tar.bz2 |
i2c-cht-wc: Fix bq24190 supplier
Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through
power_supply") moved the code to register a power_supply representing
the device supplying power to the type-C connector, from the fusb302
code to the generic tcpm code.
This has caused the power-supply registered by the fusb302 driver,
which determines how much current the bq24190 can draw, to change name
from "fusb302-typec-source" to "tcpm-source-psy-i2c-fusb302".
Fixes: f2a8aa053c17 ("typec: tcpm: Represent source supply through...")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions