commit | 42a67c9b0c0853f6a1159bd54ed0ba50df9f9ad8 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Tue Mar 01 17:37:59 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 03 16:38:23 2016 -0500 |
tree | 1cd442700d96ebd79a413460aadc2b442b634451 | |
parent | e866863066a4e6c42117434dd5cd35c9842f5b82 [diff] |
net: ethernet: renesas: sh_eth: don't open code of_device_get_match_data() This change will also make Coverity happy by avoiding a theoretical NULL pointer dereference; yet another reason is to use the above helper function to tighten the code and make it more readable. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>