Skip to contentSkip to conversation

iio:pressure:ms5611: Fix coding style in probe function

PATCH In review rodrigosiqueira 2 participants 2 messages Feb 16, 2018 – Feb 17, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iio:pressure:ms5611: Fix coding style in probe function

This patch fixes the checkpatch.pl warning and error:

iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar"

---
Changes in v2:
- Make the commit message more clearer.

 drivers/iio/pressure/ms5611.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/pressure/ms5611.h +1 -1
index ccda63c5b3c3..ead9e9f85894 100644
@@ -63,7 +63,7 @@ struct ms5611_state {
 };
 
 int ms5611_probe(struct iio_dev *indio_dev, struct device *dev,
-                 const char* name, int type);
+		 const char *name, int type);
 int ms5611_remove(struct iio_dev *indio_dev);
 
 #endif /* _MS5611_H */
Signature · 1 line
2.16.1
maintainer
#1 lore raw
Quoted 7 lines · On Fri, 16 Feb 2018 17:44:41 -0200 rodrigosiqueira…

This patch fixes the checkpatch.pl warning and error:

iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar"

Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.

Thanks Daniel for your quick feedback on this.

Thanks,

Jonathan

Quoted 20 lines

---
Changes in v2:
- Make the commit message more clearer.

 drivers/iio/pressure/ms5611.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/pressure/ms5611.h +1 -1
index ccda63c5b3c3..ead9e9f85894 100644
@@ -63,7 +63,7 @@ struct ms5611_state {
 };
 
 int ms5611_probe(struct iio_dev *indio_dev, struct device *dev,
-                 const char* name, int type);
+		 const char *name, int type);
 int ms5611_remove(struct iio_dev *indio_dev);
 
 #endif /* _MS5611_H */