drm/nouveau: unwind on load errors
authorDan Carpenter <error27@gmail.com>
Fri, 30 Jul 2010 15:04:32 +0000 (17:04 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 5 Aug 2010 22:33:41 +0000 (08:33 +1000)
commita0d069ea2c7b81a453d258c7f60e1f61a3fcbd9f
tree5f469ffc64a86e075c04704bdaa81c0c5c970a7b
parent2b495268fc596fd474d2a2cbbc711d8bb1e11e88
drm/nouveau: unwind on load errors

nouveau_load() just returned directly if there was an error instead of
releasing resources.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c