[ARM] 5116/1: pxafb: cleanup and fix order of failure handling
authorJaya Kumar <jayakumar.arm@gmail.com>
Sun, 22 Jun 2008 03:27:26 +0000 (04:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jun 2008 13:31:31 +0000 (14:31 +0100)
This issue was found by Krzysztof Helt and Eric Miao.

pxafb had issues in the order with which it cleaned up if errors occurred
during a probe. This patch reorders the failure handling sequence and also
frees the cmap and clk.

Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found