staging: xgifb: release and unmap I/O memory
authorAaro Koskinen <aaro.koskinen@iki.fi>
Thu, 17 Feb 2011 21:29:15 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 20:38:18 +0000 (12:38 -0800)
commit5c0ef2ac365ced91b819917e56dcd6795b5bef5a
treedd6c45ab87d137203fef771cda03bcc50be0310b
parentd80aaa01aec2d9b5e833fb9a26b83784e106a379
staging: xgifb: release and unmap I/O memory

Release and unmap memory on probe error paths and when the module
is removed.

The patch enables unloading and reloading the xgifb module.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c