can: flexcan: Use SIMPLE_DEV_PM_OPS
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 20 May 2013 18:43:43 +0000 (15:43 -0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 3 Jun 2013 11:13:49 +0000 (13:13 +0200)
commit588e7a8e123da07b6ffe87f156e25afc1c3d7cce
tree738d8c7e30a33f91d2d4886f5c3db65f2df265fb
parent4d7f7635f75da2924916946cb7ac49c5603b44c7
can: flexcan: 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: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c