summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-sw-trigger.c
diff options
context:
space:
mode:
authorJoe Simmons-Talbott <joetalbott@gmail.com>2022-06-23 22:18:06 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-01 11:19:08 +0100
commitabeba59f93542f57b106e8d27927d36a5b02a822 (patch)
treeba8eea641b3ad481414cc4e06189354d49111ce9 /drivers/iio/industrialio-sw-trigger.c
parent654f9661232aa5142f8a548179576482c892b69c (diff)
iio: Don't use bare "unsigned"
Use "unsigned int" rather than bare "unsigned". Reported by checkpatch.pl. Signed-off-by: Joe Simmons-Talbott <joetalbott@gmail.com> Link: https://lore.kernel.org/r/20220624021806.1010962-1-joetalbott@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-sw-trigger.c')
-rw-r--r--drivers/iio/industrialio-sw-trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-sw-trigger.c b/drivers/iio/industrialio-sw-trigger.c
index 9ae793a70b8b..994f03a71520 100644
--- a/drivers/iio/industrialio-sw-trigger.c
+++ b/drivers/iio/industrialio-sw-trigger.c
@@ -27,7 +27,7 @@ static DEFINE_MUTEX(iio_trigger_types_lock);
static
struct iio_sw_trigger_type *__iio_find_sw_trigger_type(const char *name,
- unsigned len)
+ unsigned int len)
{
struct iio_sw_trigger_type *t = NULL, *iter;