metronomefb: don't free firmware twice in error path
authorSebastian Siewior <frame+buffer@ml.breakpoint.cc>
Mon, 28 Apr 2008 09:15:39 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:41 +0000 (08:58 -0700)
commit2422fbba0684ddf08898ec2f3cf23cb16a54b3f5
tree97137da905136ce092c288a98f247e8ac2e6271c
parent03c33a4f002b2521debf1efc269cade983b6e86a
metronomefb: don't free firmware twice in error path

Right now, if request_irq or anthing after it fails than we free the firmware
for the second time what might end bad :)

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/metronomefb.c