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)
commitf4d562c6e616bb686f43d38752b2e5b83359e1fc
treea453c82c9429cedc8ed87673dd145cba9f45fa68
parentb29c7690a764b9829b1034f873f97b7bbfa19565
regulator: Clean up debugfs error handling a bit

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>
drivers/regulator/core.c
This page took 0.027006 seconds and 5 git commands to generate.