Skip to contentSkip to conversation

gpio: fix typos

PATCH Applied Antony Pavlov 3 participants 4 messages May 12, 2013 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: fix typos

---
 include/asm-generic/gpio.h |    1 -
 include/gpio.h             |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
include/asm-generic/gpio.h +0 -1
index c2e7a5d..95fdd05 100644
@@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
 int gpio_direction_input(unsigned gpio);
 
 #endif /* __ASM_GENERIC_GPIO_H */
-
include/gpio.h +1 -1
index c2fb9f7..140d53c 100644
@@ -6,7 +6,7 @@
 #ifndef CONFIG_GPIOLIB
 static inline int gpio_request(unsigned gpio, const char *label)
 {
-       return 0;
+	return 0;
 }
 
 static inline void gpio_free(unsigned gpio)
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 5 lines · Antony Pavlov
---
 include/asm-generic/gpio.h |    1 -
 include/gpio.h             |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

Applied, thanks

Sascha

Quoted 32 lines
include/asm-generic/gpio.h +0 -1
index c2e7a5d..95fdd05 100644
@@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
 int gpio_direction_input(unsigned gpio);
 
 #endif /* __ASM_GENERIC_GPIO_H */
-
include/gpio.h +1 -1
index c2fb9f7..140d53c 100644
@@ -6,7 +6,7 @@
 #ifndef CONFIG_GPIOLIB
 static inline int gpio_request(unsigned gpio, const char *label)
 {
-       return 0;
+	return 0;
 }
 
 static inline void gpio_free(unsigned gpio)
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Antony Pavlov

this is not typos it's coding style

Best Regards,
J.

Quoted 36 lines · Antony Pavlov
---
 include/asm-generic/gpio.h |    1 -
 include/gpio.h             |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
include/asm-generic/gpio.h +0 -1
index c2e7a5d..95fdd05 100644
@@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
 int gpio_direction_input(unsigned gpio);
 
 #endif /* __ASM_GENERIC_GPIO_H */
-
include/gpio.h +1 -1
index c2fb9f7..140d53c 100644
@@ -6,7 +6,7 @@
 #ifndef CONFIG_GPIOLIB
 static inline int gpio_request(unsigned gpio, const char *label)
 {
-       return 0;
+	return 0;
 }
 
 static inline void gpio_free(unsigned gpio)
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 1 line · On Sun, 12 May 2013 15:49:40 +0200 Jean-Christophe PLAGNIOL-VILLARD…

this is not typos it's coding style

You are right!

Alas! Sascha has already applied this patch to the master branch.

Quoted 39 lines

Best Regards,
J.

Quoted 36 lines · Antony Pavlov
---
 include/asm-generic/gpio.h |    1 -
 include/gpio.h             |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
include/asm-generic/gpio.h +0 -1
index c2e7a5d..95fdd05 100644
@@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
 int gpio_direction_input(unsigned gpio);
 
 #endif /* __ASM_GENERIC_GPIO_H */
-
include/gpio.h +1 -1
index c2fb9f7..140d53c 100644
@@ -6,7 +6,7 @@
 #ifndef CONFIG_GPIOLIB
 static inline int gpio_request(unsigned gpio, const char *label)
 {
-       return 0;
+	return 0;
 }
 
 static inline void gpio_free(unsigned gpio)
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 8 lines
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox