fec: Use SIMPLE_DEV_PM_OPS
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 16 Apr 2013 08:17:46 +0000 (08:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Apr 2013 20:43:35 +0000 (16:43 -0400)
commitbf7bfd7ff0a8e85c5f469a24c27d4dd1eb756104
tree880d2ae425899cb720186eaf0949f3688362c736
parent474f315d7e14be3161d207b3791113f6e6ddb82d
fec: Use SIMPLE_DEV_PM_OPS

Using SIMPLE_DEV_PM_OPS can make the code smaller and simpler.

Also change CONFIG_PM to CONFIG_PM_SLEEP.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c