mfd: Replace twl-* pr_ macros by the dev_ equivalent and do various cleanups
authorBenoit Cousson <b-cousson@ti.com>
Fri, 2 Mar 2012 10:11:26 +0000 (11:11 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Mar 2012 12:05:34 +0000 (13:05 +0100)
commitec1a07b3440cc28946a77a974c21570bbef6ffa1
treefc238f2f59f991678c67e15ad4d87ff0ed389d88
parent5a903090e7aa561901b7f052eb744b480d6126d4
mfd: Replace twl-* pr_ macros by the dev_ equivalent and do various cleanups

Since a structure device is available now, use the dev_ macros instead
of the pr_ ones.

Clean some badly formatted comments.
Remove some unused variables.
Move some variable to the place they belong.
Clean some badly wrapped lines.
Align variable definition
Add missing braces in if-then-else block.
Add blank line for better readability.
Move stuff here and there...

Conflicts:

drivers/mfd/twl-core.c

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl-core.c
drivers/mfd/twl4030-irq.c
drivers/mfd/twl6030-irq.c