diff mbox

gpio: Remove duplicate include of errno.h

Message ID 1384864362-21018-1-git-send-email-manishv.b@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vishwanathrao Badarkhe, Manish Nov. 19, 2013, 12:32 p.m. UTC
From: "Vishwanathrao Badarkhe, Manish" <manishv.b@ti.com>

Currently, code include errno.h twice. Remove one inclusion
of errno.h

Signed-off-by: Vishwanathrao Badarkhe, Manish <manishv.b@ti.com>
---
:100644 100644 552e3f4... de13695... M	include/linux/gpio.h
 include/linux/gpio.h |    1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Nov. 19, 2013, 8:15 p.m. UTC | #1
On Tue, Nov 19, 2013 at 1:32 PM, Vishwanathrao Badarkhe, Manish
<manishv.b@ti.com> wrote:

> From: "Vishwanathrao Badarkhe, Manish" <manishv.b@ti.com>
>
> Currently, code include errno.h twice. Remove one inclusion
> of errno.h
>
> Signed-off-by: Vishwanathrao Badarkhe, Manish <manishv.b@ti.com>

Patch applied, thanks!

Yours,
Linus Walleij
diff mbox

Patch

diff --git a/include/linux/gpio.h b/include/linux/gpio.h
index 552e3f4..de13695 100644
--- a/include/linux/gpio.h
+++ b/include/linux/gpio.h
@@ -78,7 +78,6 @@  static inline int irq_to_gpio(unsigned int irq)
 
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/errno.h>
 #include <linux/bug.h>
 
 struct device;