Staging: ipack: fix wrong return value.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Thu, 27 Sep 2012 10:37:41 +0000 (12:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Oct 2012 18:45:11 +0000 (11:45 -0700)
commit58b2c0ca0bd16ddefd1d981fe8748ca8083294c6
tree743ddc2d22dc0023b9f18f973834418961e1730a
parent26c295cb4bd2a18f943a9962c6f954c8daee90f7
Staging: ipack: fix wrong return value.

In case it is not possible to remap the memory, it returns 0 and
the driver thinks that everything went fine.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/ipack.c