sh_eth: Remove obsolete explicit clock handling for WoL
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 Feb 2018 13:42:36 +0000 (14:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2018 16:46:23 +0000 (11:46 -0500)
commitb4580c952e89a332f077038ef19a7582950c082d
tree5636508b37fd17bb7d49899cd1f6726636c9f5cc
parentdd62c236c0fe1166d037485494ec5ff6545480eb
sh_eth: Remove obsolete explicit clock handling for WoL

Currently, if Wake-on-LAN is enabled, the SH-ETH device's module clock
is manually kept running during system suspend, to make sure the device
stays active.

Since commits 91c719f5ec6671f7 ("soc: renesas: rcar-sysc: Keep wakeup
sources active during system suspend") and 744dddcae84441b1 ("clk:
renesas: mstp: Keep wakeup sources active during system suspend"), this
workaround is no longer needed.  Hence remove all explicit clock
handling to keep the device active.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c