]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: Use DIV_ROUND_CLOSEST for sm501 clock
authorAxel Lin <axel.lin@gmail.com>
Mon, 12 Mar 2012 02:12:34 +0000 (10:12 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Mar 2012 19:37:47 +0000 (20:37 +0100)
commit829ecbcb14edea378a1409203ef0d4a68bbf795a
tree2eba2d48ef84f54d5b6efe69f02d673b91ec0a29
parent1b1247dd75aa5cf5fae54a3bec7280046e9c7957
mfd: Use DIV_ROUND_CLOSEST for sm501 clock

Use DIV_ROUND_CLOSEST to replace sm501fb_round_div function.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/sm501.c