mfd: Fix for the TWL4030 PM sleep/wakeup sequence
authorLesly A M <leslyam@ti.com>
Thu, 14 Apr 2011 12:27:49 +0000 (17:57 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 11 May 2011 09:09:58 +0000 (11:09 +0200)
commitc62dd365e248222903e6e3e3a8f5d8587e7e3345
tree658308228d3e24bcad5a7e4b60cc31d3e031293c
parenta09aee8b636a3b2b7b10ad57d60d91e9272e771d
mfd: Fix for the TWL4030 PM sleep/wakeup sequence

Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT.

Adding the missing brackets for fixing the issue.

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