]> git.baikalelectronics.ru Git - kernel.git/commit
tools: iio: make iioutils_get_type() private in iio_utils
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 15 Feb 2021 10:40:41 +0000 (12:40 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:06 +0000 (20:47 +0000)
commitf39afed32d807b5eb3b97f2950e212edd6cd365c
treeceb57067aafff5e3f6cd9293c2106eabbd89a312
parentdf22f3b44b19a0bb1c4a1323d205774b44737998
tools: iio: make iioutils_get_type() private in iio_utils

This is a bit of a tidy-up, but also helps with extending the
iioutils_get_type() function a bit, as we don't need to use it outside of
the iio_utils.c file. So, we'll need to update it only in one place.

With this change, the 'unsigned' types are updated to 'unsigned int' in the
iioutils_get_type() function definition.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210215104043.91251-23-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
tools/iio/iio_utils.c
tools/iio/iio_utils.h