This uses dem function for mem allocation
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-janz-ttl.c | 34 +++---
1 file changed, 7 insertions(+), 27 deletions(-)
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c
index 2ecd3a0..daa79e1
This uses devm functions for mem allocation
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-ep93xx.c | 34 +++---
1 file changed, 7 insertions(+), 27 deletions(-)
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index 80829f3..dd39f27
this fixes a compilation warning by checking
the retun value of gpiochip_remove()
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-bt8xx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index ecb3ca2d..5480229
Signed-off-by: abdoulaye berthe
---
drivers/bus/omap_l3_noc.c | 11 +++
drivers/bus/omap_l3_smx.c | 11 +++
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c
index feeecae..d25d727 100644
--- a/drivers/bus
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-bt8xx.c | 19 ++-
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index ecb3ca2d..6557147 100644
--- a/drivers/gpio/gpio-bt8xx.c
+++ b/drivers/gpio/gpio
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-timberdale.c | 47 ++
1 file changed, 16 insertions(+), 31 deletions(-)
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c
index f9a8fbd..efc7c12 100644
--- a/drivers/gpio
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpio-74x164.c | 8 +++-
drivers/gpio/gpio-adnp.c | 9 +
drivers/gpio/gpio-adp5520.c| 8 +---
drivers/gpio/gpio-adp5588.c| 6 +-
drivers/gpio/gpio-amd8111.c| 3 +--
drivers/gpio/gpio-arizona.c| 3
This removes all usage of gpio_remove retval
driver/gpio: 0001-gpio-remove-all-usage-of-gpio_remove-retval-in-drive
driver/pinctl: 0002-pinctrl-remove-all-usage-of-gpio_remove-ret-val-in-d
all the rest: 0003-driver-gpio-remove-all-usage-of-gpio_remove-retval-i
abdoulaye berthe (1):
driver:gpio
this remove all reference to gpio_remove retval in all driver
except pinctrl and gpio. the same thing is done for gpio and
pinctrl in two different patches.
Signed-off-by: abdoulaye berthe
---
arch/arm/common/scoop.c| 10 ++
arch/mips/txx9/generic/setup.c
Signed-off-by: abdoulaye berthe
---
drivers/pinctrl/pinctrl-adi2.c | 9 -
drivers/pinctrl/pinctrl-as3722.c | 11 ++-
drivers/pinctrl/pinctrl-baytrail.c | 5 +
drivers/pinctrl/pinctrl-coh901.c | 10 ++
drivers/pinctrl/pinctrl-rockchip.c
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
How about using the interface tracker described in the link bellow ?
https://lkml.org/lkml/2014/5/5/55
Abdoulaye.
On Sun, Jun 8, 2014 at 2:12 PM, Alexandre Courbot wrote:
> On Thu, Jun 5, 2014 at 3:22 AM, abdoulaye berthe wrote:
>> This avoids handling gpiochip remove error
This uses devm function to ease mem alloc
Signed-off-by: abdoulaye berthe
---
drivers/bus/omap_l3_noc.c | 73 +++
1 file changed, 17 insertions(+), 56 deletions(-)
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c
index feeecae
This uses devm function to ease mem alloc
Signed-off-by: abdoulaye berthe
---
drivers/bus/omap_l3_noc.c | 85 +--
1 file changed, 23 insertions(+), 62 deletions(-)
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c
index feeecae
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
If this step is ok I will continue by updating the codes that use it.
On Fri, May 23, 2014 at 7:12 PM, abdoulaye berthe wrote:
> This avoids handling gpiochip remove error in device
> remove handler.
>
> Signed-off-by: abdoulaye berthe
> ---
> drivers/gpio/g
at 9:46 AM, Alexandre Courbot wrote:
> On Sat, May 24, 2014 at 2:12 AM, abdoulaye berthe wrote:
>> This avoids handling gpiochip remove error in device
>> remove handler.
>
> Be aware that at the moment many callers of gpiochip_remove() read its
> return value. So applyin
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
gpiochip_remove from int to void.
abdoulaye berthe (2):
gpio: removes all usage of gpiochip_remove retval
gpio: gpiolib: set gpiochip_remove retval to void
arch/arm/common/scoop.c| 10 ++
arch/mips/txx9/generic/setup.c | 4 ++--
arch/powerpc
This avoids handling gpiochip remove error in device
remove handler.
Signed-off-by: abdoulaye berthe
---
drivers/gpio/gpiolib.c | 24 +++-
include/linux/gpio/driver.h | 2 +-
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b
I didn't modify the panic in the second patch as the initial goal of
the patch was to avoid logging a message and continue as nothing
happens however that happens to be a bad idea compared to a new
proposal, I am ready to change it.
On Wed, Jun 4, 2014 at 8:22 PM, abdoulaye berthe wrote:
24 matches
Mail list logo