commit | ead87637a9e47f6ce17e4bc9e4c99472f10d72b2 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Dec 02 23:55:15 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 03 15:24:42 2015 -0500 |
tree | 7a580bc801991d460aa67e8f1dc7ec8aefebb1df | |
parent | dc8d1eb305984b1182f5e85de3c3a1f8592b83af [diff] |
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>