mfd: Correct the twl4030-power warning print during script loading
authorLesly A M <leslyam@ti.com>
Thu, 14 Apr 2011 12:27:50 +0000 (17:57 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:22 +0000 (19:45 +0200)
commit1f968ff61f2987f500832e93b9b704f26adadea6
treee604785f662339e2438ed3120b869aa32ab32b14
parenta5156f1adeeb0be7f8370c1d2e111bd1b082b578
mfd: Correct the twl4030-power warning print during script loading

Correcting the if condition check for printing the warning,
if wakeup script is not updated before updating the sleep script.

Since the flag 'order' is set to '1' while updating the wakeup script
for P1P2, the condition checking for printing the warning should be
if(!order) (ie: print the warning if wakeup script is not updated before
updating the sleep script)

Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-power.c