commit | cd3b34493f9b5de1d617e0be39f6cb5c59c9889c | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Wed Jan 25 13:31:04 2012 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Tue Feb 21 09:39:12 2012 +0200 |
tree | f26a0b7c01a43eeeb9ec4c355e424b17c9e18153 | |
parent | 3f60db4bde17088feed5f143582d7661cdbb9a01 [diff] |
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 <tomi.valkeinen@ti.com>