diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-12-03 10:55:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 23:24:42 +0300 |
commit | ead87637a9e47f6ce17e4bc9e4c99472f10d72b2 (patch) | |
tree | 7a580bc801991d460aa67e8f1dc7ec8aefebb1df /drivers/scsi/a100u2w.c | |
parent | dc8d1eb305984b1182f5e85de3c3a1f8592b83af (diff) | |
download | linux-ead87637a9e47f6ce17e4bc9e4c99472f10d72b2.tar.xz |
stmmac: ipq806x: Return error values instead of pointers
Typically we return error pointers when we want to use those
pointers in the non-error case, but this function is just
returning error pointers or NULL for success. Change the style to
plain int to follow normal kernel coding styles.
Cc: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/a100u2w.c')
0 files changed, 0 insertions, 0 deletions