From: Mikhail Ulyanov Date: Wed, 21 Jan 2015 22:19:48 +0000 (+0300) Subject: sh_eth: add more PM methods X-Git-Tag: fixes-v4.0-rc1~150^2~138^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b71af04676e9cfea6be49a8f40db36785017e944;p=pandora-kernel.git sh_eth: add more PM methods Add sh_eth_{suspend|resume}() implementing {suspend|resume|freeze|thaw|poweroff| restore}() PM methods to make it possible to restore from hibernation not only in Linux but also in e.g. U-Boot and to have more determined state on resume/ restore. Signed-off-by: Mikhail Ulyanov [Sergei: moved sh_eth_{suspend|resume}() before sh_eth_runtime_nop(), enclosed them with #ifdef CONFIG_PM_SLEEP, reordered the local variables, got rid of *goto* and label, reordered macro invocations, renamed, modified the changelog.] Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed