mfd: pcf50633: Check return value of platform_device_add()
authorLee Jones <lee.jones@linaro.org>
Mon, 18 Aug 2014 14:54:06 +0000 (15:54 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:33 +0000 (08:15 +0100)
The return value of platform_device_add() is checked after every
other use throughout the kernel.

We're also sliding in another cheeky dev_err() => dev_warn() change
as we're not actually erroring out here, rather reporting the fact
that something's gone wrong, but carrying on regardless.

Signed-off-by: Lee Jones <lee.jones@linaro.org>

No differences found