]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dfbe78304799f7f9acd562e4bdf724a79632948
tree1a62a36996bf2869ec31dc939e48986198c34c90
parentc71bc5c58cbef313005cc6ecfa2311c7437d634b
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