MDIO bus reset GPIO cleanups
Subsystems (2)
cover MDIO bus reset GPIO cleanups
Hello!
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... Here's a couple of the obvious cleanups to that code:
[1/2] mdio_bus: handle only single PHY reset GPIO
[2/2] mdio_bus: use devm_gpiod_get_optional()
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Sergei Shtylyov
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... Here's a couple of the obvious cleanups to that code:
Apparently, I forgot how to write cover letters: the patches were against
net-next (well, at least this could be deduced from the patches themselves).
MBR, Sergei
David Miller
maintainerFrom: Sergei Shtylyov <[email protected]>
Date: Mon, 12 Jun 2017 23:55:37 +0300
Quoted 7 lines
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... Here's a couple of the obvious cleanups to that code:[1/2]
mdio_bus: handle only single PHY reset GPIO
[2/2]mdio_bus: usedevm_gpiod_get_optional()
Series applied.