From: Tomi Valkeinen Date: Wed, 25 Jan 2012 11:31:04 +0000 (+0200) Subject: OMAPDSS: cleanup probe functions X-Git-Tag: v3.4-rc1~125^2~8^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd3b34493f9b5de1d617e0be39f6cb5c59c9889c;p=pandora-kernel.git OMAPDSS: cleanup probe functions Now that dss is using devm_ functions for allocation in probe functions, small reordering of the allocations allows us to clean up the probe functions more. This patch moves "unmanaged" allocations after the managed ones, and uses plain returns instead of gotos where possible. This lets us remove a bunch of goto labels, simplifying the probe's error handling. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed