Skip to content
Commit bde4c563 authored by Hernán Gonzalez's avatar Hernán Gonzalez Committed by David S. Miller
Browse files

net: ethernet: ti: Use ERR_CAST instead of ERR_PTR(PTR_ERR())



Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).

drivers/net/ethernet/ti/cpts.c:567:9-16: WARNING: ERR_CAST can be used with cpts->refclk
Generated by: scripts/coccinelle/api/err_cast.cocci

Signed-off-by: default avatarHernán Gonzalez <hernan@vanguardiasur.com.ar>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81c7288b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment