mfd: Refactor db8500-prcmu request_clock() function
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Oct 2011 10:14:14 +0000 (12:14 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:19 +0000 (14:09 +0200)
commite62ccf3a7a21d62d92520f47ba5bd7e2112d8c1b
tree56577cca7446604dd67dac2f6595dc9cafc1cb6e
parent1934dae220ed1f1a832a191a86c1becfcbb3a094
mfd: Refactor db8500-prcmu request_clock() function

This refactors the mfd/dbx500-prcmu drivers to use a switch()
statement rather than nested if/else-construction.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu.c