summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/twl4030-vibra.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-03-15 18:42:31 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-03-15 15:14:13 -0600
commit35faa55cff56441477973e454f62408714f35cd3 (patch)
tree933a91b2e07ba392fa04d2e00aaa0d99e4d8553e /drivers/input/misc/twl4030-vibra.c
parentbb9c5687e8cd02d6f8a3aea40c118b439cb09501 (diff)
downloadblackbird-op-linux-35faa55cff56441477973e454f62408714f35cd3.tar.gz
blackbird-op-linux-35faa55cff56441477973e454f62408714f35cd3.zip
spi/fsl-espi: make the clock computation easier to read
The -1 +1 thingy should probably do what DIV_ROUND_UP does. The 4 is 2 the "platform_clock => sysclock" and 2 from the computation part. The 64 is the same 4 times 16. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/input/misc/twl4030-vibra.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud