]> git.karo-electronics.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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:42 +0000 (21:17 -0600)
commit8d3216d7b9e43807199de2dda86050e43d961b29
treed1f8b9d1788fd0121b3924eab477d2db20c93b32
parentd6ebc837c7c8fd1f9658b35bf0b6835047051d4f
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