phylib: simplify bogus phy_device_create() result
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 28 Aug 2015 18:34:34 +0000 (21:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2015 21:15:24 +0000 (14:15 -0700)
commitd3765f08d6f32f17ac898ec1f19957b322d4157f
tree1a62a36996bf2869ec31dc939e48986198c34c90
parentc1b3b19923a371c9e099c30372d376b02fe66088
phylib: simplify bogus phy_device_create() result

Get rid of the bogus string of type casts where ERR_PTR() is enough.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c