diff options
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2012-05-23 13:54:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-07 05:14:07 (GMT) |
commit | 6ad0c486a4e702fa059ea24c2585c416f01f4664 (patch) | |
tree | a821c910a6c94a71b9efdf19fb110a968f87eae2 /drivers/mfd/max8997.c | |
parent | 38f1c53df288b56ad4b8421b13fbdb7232e92270 (diff) | |
download | linux-fsl-qoriq-6ad0c486a4e702fa059ea24c2585c416f01f4664.tar.xz |
Staging: ipack/bridges/tpci200: tpci200_slot_map_space() should return 0 if succeed.
tpci200_slot_map_space() should return 0 if the operation was properly
done. If not, the caller will think that something wrong happened.
This patch establish the returned value to 0. It is overwritten in case of
error.
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/max8997.c')
0 files changed, 0 insertions, 0 deletions