* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
@ 2014-07-22 15:11 ` Mark Brown
2014-07-24 8:29 ` Linus Walleij
2014-07-22 15:17 ` Michael Büsch
` (4 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2014-07-22 15:11 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Lee Jones, Matthew Garrett,
Samuel Ortiz, Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Michael Buesch
[-- Attachment #1.1: Type: text/plain, Size: 314 bytes --]
On Tue, Jul 22, 2014 at 05:08:13PM +0200, Linus Walleij wrote:
> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
> applied. We're getting rid of the return value from gpiochip_remove().
Can someone send the patch please? Splitting it up per-subsystem would
probably be easier...
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:11 ` Mark Brown
@ 2014-07-24 8:29 ` Linus Walleij
0 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2014-07-24 8:29 UTC (permalink / raw)
To: Mark Brown
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Lee Jones, Matthew Garrett,
Samuel Ortiz, Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Michael Buesch
On Tue, Jul 22, 2014 at 5:11 PM, Mark Brown <broonie@kernel.org> wrote:
> On Tue, Jul 22, 2014 at 05:08:13PM +0200, Linus Walleij wrote:
>
>> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
>> applied. We're getting rid of the return value from gpiochip_remove().
>
> Can someone send the patch please? Splitting it up per-subsystem would
> probably be easier...
OK Abdoulaye maybe we can do it a piece at a time?
I have removed the __must_check attribute from gpiochip_remove()
in the gpiolib, so the compiler won't complain about this being missing
anymore as of kernel v3.17. I also dropped the check in the GPIO
and pin control subsystem, and other subsystems can start
dropping the checks too if they are OK with the build warnings
from the kautobuild until the __must_check removal has propagated
upstream.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
2014-07-22 15:11 ` Mark Brown
@ 2014-07-22 15:17 ` Michael Büsch
2014-07-22 16:01 ` Lee Jones
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Michael Büsch @ 2014-07-22 15:17 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Lee Jones, Matthew Garrett,
Samuel Ortiz, Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Mark Brown
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
On Tue, 22 Jul 2014 17:08:13 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:
> > drivers/ssb/driver_gpio.c | 3 ++-
>
> Michael can you (A) ACK this and
Acked-by: Michael Büsch <m@bues.ch>
> (B) think of moving this driver to drivers/gpio... Patches welcome.
This is not that easy, as it is not a driver on its own, but integral part of ssb.
I don't think it's a good idea to move it out.
I'll accept well tested patches, though.
--
Michael
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
2014-07-22 15:11 ` Mark Brown
2014-07-22 15:17 ` Michael Büsch
@ 2014-07-22 16:01 ` Lee Jones
2014-07-22 17:51 ` Dmitry Torokhov
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Lee Jones @ 2014-07-22 16:01 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Matthew Garrett, Samuel Ortiz,
Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Mark Brown, Michael Buesch
On Tue, 22 Jul 2014, Linus Walleij wrote:
> On Sat, Jul 12, 2014 at 10:30 PM, abdoulaye berthe <berthe.ab@gmail.com> wrote:
>
> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
> applied. We're getting rid of the return value from gpiochip_remove().
>
> > 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 <berthe.ab@gmail.com>
> (...)
>
> I think this patch probably needs to be broken down per-subsystem as it
> hits all over the map. But let's start requesting ACKs for the
> individual pieces.
> Actually I think it will be OK to merge because there is likely not much churn
> around these code sites.
>
> I'm a bit torn between just wanting a big patch for this hitting drivers/gpio
> and smaller patches hitting one subsystem at a time. We should be able
> to hammer this in one switch strike.
It would be better if you could devise a plan to make the switch a
subsystem at a time.
[...]
> > drivers/mfd/asic3.c | 3 ++-
> > drivers/mfd/htc-i2cpld.c | 8 +-------
> > drivers/mfd/sm501.c | 17 +++--------------
> > drivers/mfd/tc6393xb.c | 13 ++++---------
> > drivers/mfd/ucb1x00-core.c | 8 ++------
>
> Lee/Sam can either of you ACK this?
I don't see any code?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
` (2 preceding siblings ...)
2014-07-22 16:01 ` Lee Jones
@ 2014-07-22 17:51 ` Dmitry Torokhov
2014-07-22 19:17 ` Mauro Carvalho Chehab
2014-07-29 11:30 ` Tomi Valkeinen
5 siblings, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2014-07-22 17:51 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Lee Jones, Matthew Garrett,
Samuel Ortiz, Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Mark Brown
On Tue, Jul 22, 2014 at 05:08:13PM +0200, Linus Walleij wrote:
> On Sat, Jul 12, 2014 at 10:30 PM, abdoulaye berthe <berthe.ab@gmail.com> wrote:
>
> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
> applied. We're getting rid of the return value from gpiochip_remove().
>
> > 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 <berthe.ab@gmail.com>
> (...)
>
> I think this patch probably needs to be broken down per-subsystem as it
> hits all over the map. But let's start requesting ACKs for the
> individual pieces.
> Actually I think it will be OK to merge because there is likely not much churn
> around these code sites.
>
> I'm a bit torn between just wanting a big patch for this hitting drivers/gpio
> and smaller patches hitting one subsystem at a time. We should be able
> to hammer this in one switch strike.
...
>
> > drivers/input/keyboard/adp5588-keys.c | 4 +---
> > drivers/input/keyboard/adp5589-keys.c | 4 +---
> > drivers/input/touchscreen/ad7879.c | 10 +++-------
>
> Dmitry can you ACK this?
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
` (3 preceding siblings ...)
2014-07-22 17:51 ` Dmitry Torokhov
@ 2014-07-22 19:17 ` Mauro Carvalho Chehab
2014-07-29 11:30 ` Tomi Valkeinen
5 siblings, 0 replies; 8+ messages in thread
From: Mauro Carvalho Chehab @ 2014-07-22 19:17 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-mips, linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org,
Benjamin Herrenschmidt, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Lee Jones, Matthew Garrett,
Samuel Ortiz, Rafał Miłecki, Tomi Valkeinen,
linux-serial@vger.kernel.org, Linux Input, abdoulaye berthe,
Alexandre Courbot, Bryan Wu, arm@kernel.org,
linux-gpio@vger.kernel.org, Mark Brown
Em Tue, 22 Jul 2014 17:08:13 +0200
Linus Walleij <linus.walleij@linaro.org> escreveu:
> On Sat, Jul 12, 2014 at 10:30 PM, abdoulaye berthe <berthe.ab@gmail.com> wrote:
>
> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
> applied. We're getting rid of the return value from gpiochip_remove().
>
> > 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 <berthe.ab@gmail.com>
> (...)
>
> I think this patch probably needs to be broken down per-subsystem as it
> hits all over the map. But let's start requesting ACKs for the
> individual pieces.
> Actually I think it will be OK to merge because there is likely not much churn
> around these code sites.
>
> I'm a bit torn between just wanting a big patch for this hitting drivers/gpio
> and smaller patches hitting one subsystem at a time. We should be able
> to hammer this in one switch strike.
>
...
> > drivers/media/dvb-frontends/cxd2820r_core.c | 10 +++-------
>
> Mauro can you ACK this?
Acked-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
>
> (Hm that looks weird. Mental note to look closer at this.)
What's weird there?
Regards,
Mauro
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver
2014-07-22 15:08 ` [PATCH 3/3] driver:gpio remove all usage of gpio_remove retval in driver Linus Walleij
` (4 preceding siblings ...)
2014-07-22 19:17 ` Mauro Carvalho Chehab
@ 2014-07-29 11:30 ` Tomi Valkeinen
5 siblings, 0 replies; 8+ messages in thread
From: Tomi Valkeinen @ 2014-07-29 11:30 UTC (permalink / raw)
To: Linus Walleij, abdoulaye berthe, arm@kernel.org, Ralf Baechle,
Benjamin Herrenschmidt, Rafał Miłecki, Jiri Kosina,
Dmitry Torokhov, Bryan Wu, Mauro Carvalho Chehab, Lee Jones,
Samuel Ortiz, Matthew Garrett, Michael Buesch, Greg KH,
Mark Brown, Liam Girdwood
Cc: Alexandre Courbot, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mips,
linux-sh@vger.kernel.org, Linux Input,
linux-media@vger.kernel.org, linux-serial@vger.kernel.org,
linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
On 22/07/14 18:08, Linus Walleij wrote:
> On Sat, Jul 12, 2014 at 10:30 PM, abdoulaye berthe <berthe.ab@gmail.com> wrote:
>
> Heads up. Requesting ACKs for this patch or I'm atleast warning that it will be
> applied. We're getting rid of the return value from gpiochip_remove().
>> drivers/video/fbdev/via/via-gpio.c | 10 +++-------
>
> Tomi can you ACK this?
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread