From: Sourav Poddar Date: Tue, 18 Sep 2012 11:35:54 +0000 (+0530) Subject: serial: omap: Remove unnecessary checks from suspend/resume X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac57e7f38ea6fe7358cd0b7a2f2d21aef5ab70cd;p=pandora-kernel.git serial: omap: Remove unnecessary checks from suspend/resume Drop the check for "up" being valid on suspend/resume callbacks. It should be valid always. Get rid of the "pdata" check also as serial_omap_get_context_loss_count() checks for it. Tested on omap4 panda and 3630 based Beagle board. Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed