regulator: Clean up debugfs error handling a bit
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 21:01:04 +0000 (21:01 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Feb 2012 09:56:38 +0000 (09:56 +0000)
Use IS_ERR_OR_NULL() rather than open coding it and ignore errors from
failure to create the supply map.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found