net: micrel : ks8851-ml: add vdd-supply support
authorNishanth Menon <nm@ti.com>
Fri, 21 Mar 2014 06:52:48 +0000 (01:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2014 04:36:47 +0000 (00:36 -0400)
commitebf4ad955d3e26d4d2a33709624fc7b5b9d3b969
treeda93c4744f9787a30027dda791b6101aebaa89e2
parentb74d3feccc3f5e6e4cf98cf88daa2e0cdbc4ca62
net: micrel : ks8851-ml: add vdd-supply support

Few platforms use external regulator to keep the ethernet MAC supplied.
So, request and enable the regulator for driver functionality.

Fixes: 66fda75f47dc (regulator: core: Replace direct ops->disable usage)
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Suggested-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/micrel-ks8851.txt
drivers/net/ethernet/micrel/ks8851.c