Message ID | 20230808164137.66663-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [v1,1/1] iio: dac: stm32-dac: Use correct header(s) instead of string_helpers.h | expand |
On Tue, 8 Aug 2023 19:41:37 +0300 Andy Shevchenko <andriy.shevchenko@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@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" >
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"
There is nothing from string_helpers.h used in the driver, correct the header inclusion block accordingly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/iio/dac/stm32-dac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)