[PATCH v1 1/1] iio: dac: stm32-dac: Use correct header(s) instead of string_helpers.h

Jonathan Cameron jic23 at kernel.org
Mon Aug 28 10:37:28 PDT 2023


On Tue,  8 Aug 2023 19:41:37 +0300
Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:

> There is nothing from string_helpers.h used in the driver, correct
> the header inclusion block accordingly.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Applied

> ---
>  drivers/iio/dac/stm32-dac.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c
> index 15eb44075107..3cab28c7ee3b 100644
> --- a/drivers/iio/dac/stm32-dac.c
> +++ b/drivers/iio/dac/stm32-dac.c
> @@ -11,12 +11,13 @@
>  #include <linux/delay.h>
>  #include <linux/iio/iio.h>
>  #include <linux/kernel.h>
> +#include <linux/kstrtox.h>
>  #include <linux/module.h>
>  #include <linux/mod_devicetable.h>
>  #include <linux/of.h>
>  #include <linux/platform_device.h>
>  #include <linux/pm_runtime.h>
> -#include <linux/string_helpers.h>
> +#include <linux/string_choices.h>
>  
>  #include "stm32-dac-core.h"
>  




More information about the linux-arm-kernel mailing list