mfd: Fix s5m error handling for invalid device type
authorJonghwan Choi <jhbird.choi@samsung.com>
Mon, 20 Feb 2012 15:22:56 +0000 (16:22 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:35 +0000 (18:46 +0100)
commitc7a1fcf3b1660dbccdc2faf9e506e0264b17c4ce
tree4b5c0425c471b01ca881e62e19df1b7a9fc54736
parentc3ebb30aaeb2a30d69b9db564d93bf3486139c12
mfd: Fix s5m error handling for invalid device type

If device type is not supported in driver, have to retun error.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/s5m-irq.c