From: Lee Jones Date: Mon, 18 Aug 2014 14:54:06 +0000 (+0100) Subject: mfd: pcf50633: Check return value of platform_device_add() X-Git-Tag: fixes-against-v3.18-rc2~69^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cddc11412d604ad673709e91e7a35e9f10c68b39;p=pandora-kernel.git 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 --- Reading git-diff-tree failed