summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/vt.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-02-09 10:53:25 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 04:02:26 +0100
commit4c0d9b17d1c0608bbbef6d00e68956de2c3b1f8e (patch)
tree3e8a2ee2f7ad5682be247e4bc40c52d5ef76ac52 /drivers/tty/vt/vt.c
parent833b1f7b5191e4ac15dfd86aa8137f2349f0fc30 (diff)
downloadop-kernel-dev-4c0d9b17d1c0608bbbef6d00e68956de2c3b1f8e.zip
op-kernel-dev-4c0d9b17d1c0608bbbef6d00e68956de2c3b1f8e.tar.gz
vt: vt_ioctl: use msecs_to_jiffies for time conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically OK but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases correctly. This is a minor API consolidation only and should make things more readable. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt/vt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud