net: fec: use pinctrl PM helpers
authorNimrod Andy <B38611@freescale.com>
Tue, 27 May 2014 07:51:08 +0000 (15:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 May 2014 00:03:21 +0000 (17:03 -0700)
commit5bbde4d2ec8061a9cdad3f7a08d61c4d78e57e0e
tree369541290f7e4a2b313d554a8284bc4d7df4f012
parentce25b68b74593bbb676ec087b3a0c69f94df7de0
net: fec: use pinctrl PM helpers

when system suspend, need to set pins to low power state to
save IO power consumption, there are three states of pinctrl:
"default", "idle" and "sleep". Currently enet supports default
and sleep state.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c