]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fec: Simplify the PM related hooks
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 24 Jul 2014 21:24:01 +0000 (18:24 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jul 2014 06:26:18 +0000 (23:26 -0700)
commitdd66d386552ad3687530c1bd0e001e96a060cc0f
treed45cb777f0dc1540ad97f847e77f0179783588aa
parente40f5c72347d535352b6631850a26b23a7f11eca
fec: Simplify the PM related hooks

Get rid of the CONFIG_PM_SLEEP ifdef by annotating the suspend/resume functions
with '__maybe_unused' in order to keep the code simpler and shorter.

While at it, declare the suspend/resume functions in a single line.

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