power: qpnp-fg-gen3: Report time_to_full only after SOC is ready

Currently, power supply framework tries to get properties from a
power supply (e.g. bms) as soon as the power supply is registered
when driver probes. Since the profile load work is scheduled to
run after probe, reading time_to_full property spews the log
causing misinterpretation.

Fix it by checking for soc_reporting_ready which will be set once
profile_load work completes its execution.

Change-Id: I3be3d2624efc217b153fb695a2f95fb17b46f972
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
1 file changed