From: Nithin Sujir Date: Sat, 18 May 2013 06:26:54 +0000 (+0000) Subject: tg3: Simplify tg3_phy_eee_config_ok() by reusing tg3_eee_pull_config() X-Git-Tag: v3.11-rc1~16^2~380^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b6c273ad6c3886f30c7c5df7009e489043c59f3;p=pandora-kernel.git tg3: Simplify tg3_phy_eee_config_ok() by reusing tg3_eee_pull_config() eee_config_ok() was checking only for mismatch in advertised settings. This patch expands the scope of eee_config_ok() to check for mismatch in the other eee settings. On mismatch we will require a call to tg3_setup_eee() to push the configured settings to the hardware. Reviewed-by: Ben Li Signed-off-by: Michael Chan Signed-off-by: Nithin Nayak Sujir Signed-off-by: David S. Miller --- Reading git-diff-tree failed