Skip to content
Commit cddc1141 authored by Lee Jones's avatar Lee Jones
Browse files

mfd: pcf50633: Check return value of platform_device_add()



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: default avatarLee Jones <lee.jones@linaro.org>
parent b87d9a0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment