sh_eth: Simplify MDIO bus initialization and release
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 20 Mar 2014 14:00:33 +0000 (15:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 21:22:08 +0000 (17:22 -0400)
commitbd920ff553ba17f19372501a14e432d9d92b102b
treedd0bbf7501a92efd1d2a8552202ea466b15be0d8
parenta5bd60608936fbb84471a80592401ce29a68de71
sh_eth: Simplify MDIO bus initialization and release

The network device passed to the sh_mdio_init and sh_mdio_release
functions is only used to access the sh_eth_private instance. Pass it
directly to those functions.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c