mfd: Return proper error if s5m-core regmap_init_i2c fails
authorAxel Lin <axel.lin@gmail.com>
Tue, 28 Feb 2012 06:23:55 +0000 (14:23 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:54 +0000 (18:46 +0100)
commit61a2af301fa145490868fcf36b4bbea22398f760
tree1f6fc787a0adb8bddacfbd03c29c2c4916166554
parentb3b97473ee07ae8904e9d8fe02914de2188d302c
mfd: Return proper error if s5m-core regmap_init_i2c fails

Also remove a redundant semicolon from return statement.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/s5m-core.c