Sergei Shtylyov
b74766a0a0
phylib: don't return NULL from get_phy_device()
...
Arnd Bergmann asked that get_phy_device() returns either NULL or the error
value, not both on error. Do as he said, return ERR_PTR(-ENODEV) instead
of NULL when the PHY ID registers read as all ones.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-26 15:41:19 -04:00
..
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-03-23 13:39:25 -04:00
2016-03-25 11:37:57 -04:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2015-10-08 04:45:52 -07:00
2016-01-07 14:31:25 -05:00
2015-10-08 04:45:46 -07:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2011-05-23 13:10:23 -07:00
2016-01-20 18:54:08 -08:00
2016-02-18 15:53:10 -05:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-03-14 15:43:11 -04:00
2016-01-07 14:31:27 -05:00
2016-03-18 23:02:03 -04:00
2016-01-07 14:31:27 -05:00
2016-03-14 15:27:22 -04:00
2016-02-25 16:08:37 -05:00
2016-04-11 21:15:48 -04:00
2016-01-07 14:31:27 -05:00
2015-10-08 04:44:46 -07:00
2016-01-07 14:31:26 -05:00
2015-05-14 13:40:55 -04:00
2016-03-16 19:55:37 -04:00
2016-03-14 15:27:22 -04:00
2016-01-07 14:31:26 -05:00
2016-01-07 14:31:26 -05:00
2015-06-01 15:10:09 +02:00
2015-10-26 22:08:12 -07:00
2016-04-11 21:15:48 -04:00
2016-03-14 15:27:22 -04:00
2016-03-21 11:30:01 -04:00
2016-03-14 15:27:22 -04:00
2016-03-08 12:34:12 -05:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-04-26 15:41:19 -04:00
2016-04-18 14:45:08 -04:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-01-21 12:06:03 -08:00
2016-04-21 15:00:27 -04:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00
2016-01-07 14:31:27 -05:00