FROMLIST: power_supply: Register cooling device outside of probe
Registering the cooling device from the probe can result in the execution of get_property() function before it gets initialized. To avoid this, register the cooling device from a workqueue instead of registering in the probe. Signed-off-by:Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com> Bug: 211709650 Link: https://lore.kernel.org/linux-pm/1640162489-7847-1-git-send-email-quic_manafm@quicinc.com/ Change-Id: Id1aa63da9c4e43272c78b50b8b61a92b2d4f617d Signed-off-by:
Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Loading
Please sign in to comment