mdio_bus: handle only single PHY reset GPIO
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 12 Jun 2017 20:55:38 +0000 (23:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2017 16:56:42 +0000 (12:56 -0400)
commitd396e84c56047b303cac378dde4b2e5cc430b336
treef9ed8ae00f7435c3be2237bdad8e1cde780870e2
parent61d3e1d9bc2a1910d773cbf4ed6f587a7a6166b5
mdio_bus: handle only single PHY reset GPIO

Commit 4c5e7a2c0501 ("dt-bindings: mdio: Clarify binding document")
declared that a MDIO reset GPIO property should have only a single GPIO
reference/specifier, however the supporting code was left intact, still
burdening the kernel with now apparently useless loops -- get rid of them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
drivers/of/of_mdio.c
include/linux/phy.h