net: gem: Check if priv->phydev is valid
authorMichal Simek <michal.simek@xilinx.com>
Mon, 30 Nov 2015 13:03:37 +0000 (14:03 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Dec 2015 08:59:05 +0000 (09:59 +0100)
commit90c6f2e21bb980e5544b1339e7ef7038bc872968
treeed38b4f508b12b4cb65a8709d1e8724b281212ba
parent68cc3bd8b2863667513008c975cc69187855317f
net: gem: Check if priv->phydev is valid

Check return value.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/net/zynq_gem.c