summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/f_printer.c
diff options
context:
space:
mode:
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2018-05-22 16:16:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-24 18:14:27 +0200
commitc97a8cc17f4472d85f889230ea6bac5aa8c53560 (patch)
tree236fb1a9b26c8bcd549911f7c4c44b27dabcaac6 /drivers/usb/gadget/function/f_printer.c
parentece711b5a42ce9b99a2a3706c56bf70a5425a7bf (diff)
downloadop-kernel-dev-c97a8cc17f4472d85f889230ea6bac5aa8c53560.zip
op-kernel-dev-c97a8cc17f4472d85f889230ea6bac5aa8c53560.tar.gz
typec: tcpm: Provide fwnode pointer as part of psy_cfg
For supply registration, provide fwnode pointer of the port device, via the power_supply_config structure, to allow other psy drivers to add us as a supplier. At present this only applies to DT based platforms using the 'power-supplies' DT property, but in the future should also work for ACPI platforms when the relevant support is added to the power_supply core. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/f_printer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud