net/ethernet/sfc: Don't use of_node_to_eeh_dev()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Mar 2015 03:00:47 +0000 (14:00 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2015 02:12:45 +0000 (13:12 +1100)
commit12a89dbac7914c58b0d207ef608e1c02534708bc
treea849a7aeb4485a0bee8f4dd3659e441630cf8e6a
parent2f6cf7944833bf9c63b945799b460988aec30040
net/ethernet/sfc: Don't use of_node_to_eeh_dev()

This is deprecated, it forces the driver to hop via the OF node
that may or may not exist, instead use pci_dev_to_eeh_dev() which
is simpler.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Shradha Shah <sshah@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/siena.c