summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2017-02-09 04:54:25 +0300
committerJonathan Cameron <jic23@kernel.org>2017-02-11 12:38:21 +0300
commit55bf851b4ad76778ce4e591dbb79006d7107cf3d (patch)
treeba6206010c0b00601ad5212800b4f2ed358b2782 /include/linux
parent92196732bebf3f15962e747e09dbac7590403ec2 (diff)
downloadlinux-55bf851b4ad76778ce4e591dbb79006d7107cf3d.tar.xz
staging: iio: isl29028: change mdelay() to msleep()
This driver in some cases can busy wait for upwards of 100 ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use msleep() instead. This patch changes the two occurrences of mdelay() to msleep(). Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions