]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: wmt: use msecs_to_jiffies for time conversions
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 1 Mar 2015 13:20:32 +0000 (08:20 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:18:23 +0000 (10:18 +0100)
commitbd9dd73c6a4e17c9345e81b46a52ca9d3157378f
treed48dbf8507d82f8178d02a72f9d844acb6b23cc7
parent6973a39c9e35f46f2ea79ccbc25d3cab58737331
i2c: wmt: use msecs_to_jiffies for time conversions

This is only an API consolidation and should make things more readable
it replaces var * HZ / 1000 by msecs_to_jiffies(var).

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-wmt.c