]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 10 Oct 2011 10:14:14 +0000 (12:14 +0200)
commit6e105181fd09984b239c600413bc5b8374d21103
treead412b7c9d00759679322a95194c91967ec1245e
parentc1b61f51821e0776425caba8ea16f3d87def305a
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