video: ffb: fix ffb_probe error path
authoraxel lin <axel.lin@gmail.com>
Tue, 8 Feb 2011 14:58:45 +0000 (14:58 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:18:51 +0000 (16:18 +0900)
commit7b0e278519eba8050f2b37d7c408958745f30ecd
tree5e11d0cedfe89dc9fd8c2cdb7a7dd1ade5e6a385
parent49bb0943329929e73c9a22c97d53c6c8967eb243
video: ffb: fix ffb_probe error path

Current implementation calls of_iounmap for par->fbc twice in error path.
In the case of goto out_unmap_dac, we should call of_iounmap for par->dac.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/ffb.c