commit | 4af5924c02818ca170bb6902dbb883687b969aeb | [log] [tgz] |
---|---|---|
author | Dong Aisheng <aisheng.dong@nxp.com> | Fri Apr 14 22:32:43 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Apr 14 18:09:26 2017 +0100 |
tree | 6bf18fe423a1a175cc831b97eaaaa4996b3ec186 | |
parent | 9bf944548169f6153c3d3778cf983cb5db251a0e [diff] |
regulator: anatop: make sure regulator name is properly defined For anatop regulator we must have a name accordingly. Make sure the name is properly checked before using it to avoid a possible kernel NULL point crash. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>