-
由 Leonard Crestez 提交于
It is allowed to call regulator_get with a NULL dev argument (_regulator_get explicitly checks for it) but this causes an error later when printing /sys/kernel/debug/regulator_summary. Fix this by explicitly handling "deviceless" consumers in the debugfs code. Signed-off-by: NLeonard Crestez <leonard.crestez@nxp.com> Signed-off-by: NMark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
e42a46b6