Skip to contentSkip to conversation

iio: accel: msa311: Use correct header(s) instead of string_helpers.h

PATCH Applied Andy Shevchenko 3 participants 3 messages Aug 8, 2023 – Aug 28, 2023 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: accel: msa311: Use correct header(s) instead of string_helpers.h

There is nothing from string_helpers.h used in the driver, correct the header inclusion block accordingly.

---
 drivers/iio/accel/msa311.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/accel/msa311.c +1 -1
index 6ddcc3c2f840..b8ddbfd98f11 100644
@@ -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>
Signature · 1 line
2.40.0.1.gaa8946217a0b
Reviewed-by on v1 1/1
#1 lore raw

Hello Andy,

Thank you for the patch!

Quoted 4 lines · Andy Shevchenko

There is nothing from string_helpers.h used in the driver, correct the header inclusion block accordingly.

Quoted 20 lines
---
 drivers/iio/accel/msa311.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/accel/msa311.c +1 -1
index 6ddcc3c2f840..b8ddbfd98f11 100644
@@ -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>
Signature · 1 line
2.40.0.1.gaa8946217a0b
Signature · 2 lines
Thank you,
Dmitry
maintainer Applied
#2 lore raw
Quoted 4 lines · On Wed, 9 Aug 2023 09:47:23 +0300 Dmitry Rokosov <[email protected]>…

Hello Andy,

Thank you for the patch!

Quoted 8 lines
Quoted 4 lines · Andy Shevchenko

There is nothing from string_helpers.h used in the driver, correct the header inclusion block accordingly.

Applied

Thanks,
J

Quoted 21 lines
Quoted 20 lines
---
 drivers/iio/accel/msa311.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/accel/msa311.c +1 -1
index 6ddcc3c2f840..b8ddbfd98f11 100644
@@ -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>
Signature · 1 line
2.40.0.1.gaa8946217a0b