summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-05-29 20:02:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 06:04:36 +0300
commit895875a3d85596e3e2e46aeb382bf14f1419de82 (patch)
treeb27a347d02706fba637a6aaeaba2aae17f689646 /include/linux
parent60c77d1adbff06e6ca568fbd874407f1ae23badc (diff)
downloadlinux-895875a3d85596e3e2e46aeb382bf14f1419de82.tar.xz
staging: panel: use schedule_timeout_interruptible()
API consolidation with coccinelle found: ./drivers/staging/panel/panel.c:782:2-18: consolidation with schedule_timeout_*() recommended This is a 1:1 conversion with respect to schedule_timeout() to the schedule_timeout_interruptible() helper only - so only an API consolidation to improve readability. The timeout was being passed as (ms * HZ + 999) / 1000 but that simply looks wrong - rather than "manual" converting to jiffies, msecs_to_jiffies which handles all corner-cases correctly, was used. Patch was compile tested with x86_64_defconfig + CONFIG_STAGING=y, CONFIG_PARPORT=m, CONFIG_PANEL=m Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Acked-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions