commit | cddc11412d604ad673709e91e7a35e9f10c68b39 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Aug 18 15:54:06 2014 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Fri Sep 26 08:15:33 2014 +0100 |
tree | ef3cd8c2e42790fe05861ca9d3b2d55bc993c9a0 | |
parent | b87d9a0fed5828e6cca4c3b02eacbc9c12a9a8e8 [diff] |
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>