Backport of commit "power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint")

From: Thomas Weißschuh
Date: Fri Nov 03 2023 - 15:34:03 EST


Dear stable team,

I would like to propose the commit
bbaa6ffa5b6c ("power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint")
from mainline for inclusion into the stable kernels.

The commit fixes a RCU violation as indicated in its commit message.

Thanks,
Thomas