OSDN Git Service

ARM: shmobile: Remove the console check from sh7372_enter_suspend()
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Aug 2012 18:57:06 +0000 (20:57 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:45:00 +0000 (01:45 +0200)
commit18c081e27666c5db33075bf7ae4694e091cf1d20
tree4d812e02695c23cb97e56369215f011c80afd438
parent201dbd8110164d817e73c5602dd4d358d7fc535a
ARM: shmobile: Remove the console check from sh7372_enter_suspend()

The !console_suspend_enabled check in sh7372_enter_suspend() seems
to be reversed and the condition it is supposed to catch (console
clock enabled) should be detected by the sh7372_sysc_valid() check
anyway, so remove it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
arch/arm/mach-shmobile/pm-sh7372.c