mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
b87d9a0fed
commit
cddc11412d
1 changed files with 17 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue