From cddc11412d604ad673709e91e7a35e9f10c68b39 Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Mon, 18 Aug 2014 15:54:06 +0100 Subject: [PATCH] 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-format-patch failed