mfd: twl4030-power: Simplify error path
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Tue, 18 Jun 2013 13:17:59 +0000 (15:17 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 19 Jun 2013 08:19:40 +0000 (10:19 +0200)
commite77a4c2fdd549efbd4897522d83005f9a5f81c87
treef9ffd46ebad8459460415368c9b8fc6598fa8bfd
parentb0fc1da4d0359d3cce8f12e0f014aed0704ae202
mfd: twl4030-power: Simplify error path

Remove unnecessary goto statements, causing duplicated if
conditions.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-power.c