• Eric Benard's avatar
    net/fec: clean suspend/resume · 87cad5c3
    Eric Benard authored
    Commit 59d4289b converted fec to dev_pm_ops but
    didn't update the suspend/resume functions thus leading to the following warning :
    "initialization from incompatible pointer type" when CONFIG_PM is set.
    
    This patch also fixe a few indentation and style around CONFIG_PM area.
    Signed-off-by: default avatarEric Bénard <eric@eukrea.com>
    Cc: netdev@vger.kernel.org
    Cc: davem@davemloft.net
    Cc: amit.kucheria@canonical.com
    Cc: s.hauer@pengutronix.de
    Cc: linux-arm-kernel@lists.infradead.org
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    87cad5c3
fec.c 35.5 KB