diff mbox series

[v1,1/1] iio: accel: msa311: Use correct header(s) instead of string_helpers.h

Message ID 20230808164152.66748-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series [v1,1/1] iio: accel: msa311: Use correct header(s) instead of string_helpers.h | expand

Commit Message

Andy Shevchenko Aug. 8, 2023, 4:41 p.m. UTC
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/accel/msa311.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Rokosov Aug. 9, 2023, 6:47 a.m. UTC | #1
Hello Andy,

Thank you for the patch!

On Tue, Aug 08, 2023 at 07:41:52PM +0300, Andy Shevchenko 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>

Reviewed-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>

> ---
>  drivers/iio/accel/msa311.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/msa311.c b/drivers/iio/accel/msa311.c
> index 6ddcc3c2f840..b8ddbfd98f11 100644
> --- a/drivers/iio/accel/msa311.c
> +++ b/drivers/iio/accel/msa311.c
> @@ -33,7 +33,7 @@
>  #include <linux/pm.h>
>  #include <linux/pm_runtime.h>
>  #include <linux/regmap.h>
> -#include <linux/string_helpers.h>
> +#include <linux/string_choices.h>
>  #include <linux/units.h>
>  
>  #include <linux/iio/buffer.h>
> -- 
> 2.40.0.1.gaa8946217a0b
>
Jonathan Cameron Aug. 28, 2023, 5:36 p.m. UTC | #2
On Wed, 9 Aug 2023 09:47:23 +0300
Dmitry Rokosov <ddrokosov@sberdevices.ru> wrote:

> Hello Andy,
> 
> Thank you for the patch!
> 
> On Tue, Aug 08, 2023 at 07:41:52PM +0300, Andy Shevchenko 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>  
> 
> Reviewed-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
> 
Applied

Thanks,
J
> > ---
> >  drivers/iio/accel/msa311.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/iio/accel/msa311.c b/drivers/iio/accel/msa311.c
> > index 6ddcc3c2f840..b8ddbfd98f11 100644
> > --- a/drivers/iio/accel/msa311.c
> > +++ b/drivers/iio/accel/msa311.c
> > @@ -33,7 +33,7 @@
> >  #include <linux/pm.h>
> >  #include <linux/pm_runtime.h>
> >  #include <linux/regmap.h>
> > -#include <linux/string_helpers.h>
> > +#include <linux/string_choices.h>
> >  #include <linux/units.h>
> >  
> >  #include <linux/iio/buffer.h>
> > -- 
> > 2.40.0.1.gaa8946217a0b
> >   
>
diff mbox series

Patch

diff --git a/drivers/iio/accel/msa311.c b/drivers/iio/accel/msa311.c
index 6ddcc3c2f840..b8ddbfd98f11 100644
--- a/drivers/iio/accel/msa311.c
+++ b/drivers/iio/accel/msa311.c
@@ -33,7 +33,7 @@ 
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
-#include <linux/string_helpers.h>
+#include <linux/string_choices.h>
 #include <linux/units.h>
 
 #include <linux/iio/buffer.h>