]> git.baikalelectronics.ru Git - kernel.git/commit
iio: ad_sigma_delta: use unsigned long for timeout
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 23 Jul 2018 09:18:38 +0000 (11:18 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Jul 2018 11:15:03 +0000 (12:15 +0100)
commitf4f16cc2dc074c16e37543e5a6e0c69babb08f6d
treead41723ba36c61c32c99e04d6e050509337c7dc6
parentf46919e084259799273a18cba5e0463a5a043a4c
iio: ad_sigma_delta: use unsigned long for timeout

wait_for_completion_timeout returns unsigned long not int so an appropriate
variable is declared and the assignment and check fixed up.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad_sigma_delta.c