From: Luc Verhaegen Date: Fri, 14 Nov 2014 12:26:49 +0000 (+0100) Subject: simplefb: add goto error path to probe X-Git-Tag: omap-for-v3.19/fixes-rc1~128^2^3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf2fda157a9ab50f65da60a365ede3a5b529d025;p=pandora-kernel.git simplefb: add goto error path to probe Use the usual kernel style of goto error_foo to free resources on probe error. This is a preparation patch for adding clocks support. While at it also update ioremap_wc error return from ENODEV to ENOMEM. Signed-off-by: Luc Verhaegen Acked-by: Stephen Warren Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Acked-by: Geert Uytterhoeven Reviewed-by: Maxime Ripard Reviewed-by: David Herrmann Acked-by: Grant Likely Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed