mfd: stw481x: Check the return value of devm_regmap_init_i2c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 12 Feb 2014 09:10:13 +0000 (14:40 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:17 +0000 (08:58 +0000)
commitc88fd91bcd016b84e5f7d7ebd583e073e5ead48a
tree99b5ca88bbab7123e0f2b82e283fae644b756bb5
parente2f3e9bbbaa64a017d91b33fdd9d0886f431b36b
mfd: stw481x: Check the return value of devm_regmap_init_i2c

devm_regmap_init_i2c can fail. Check for it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stw481x.c