power: supply: cpcap-charger: Add missing power_supply_config
authorTony Lindgren <tony@atomide.com>
Thu, 15 Jun 2017 04:41:08 +0000 (21:41 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 15 Jun 2017 08:16:59 +0000 (10:16 +0200)
commitfc443138304e31c05df688ee6e318a6ac57d53f2
treef8917840e284f63cb63e056fd764714862a1873c
parent5e6eb025b0d7ee721e8d88d632630ba43eeab50b
power: supply: cpcap-charger: Add missing power_supply_config

Otherwise cpcap-battery won't probe properly with the power-supplies
property configured but will fail with "Not all required supplies found,
defer probe".

Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/cpcap-charger.c