[PATCH v2 0/3] gpio: davinci: Add missing return checks
Keerthy
j-keerthy at ti.com
Mon Jul 31 04:52:40 PDT 2017
On Friday 21 July 2017 01:27 AM, Suman Anna wrote:
> Hi Keerthy,
>
>>
>> On Thursday 20 July 2017 03:12 PM, Keerthy wrote:
>>> The patch series does a couple of important return handling which were missed
>>> earlier in the driver probe.
>>>
>>> This is based on Suman's:
>>>
>>> http://marc.info/?l=linux-arm-kernel&m=150034845427555&w=2
>>> http://marc.info/?l=linux-arm-kernel&m=150034856627618&w=2
>>>
>>
>> My bad! The series has no dependency on the above. I have split the
>> device tree patches to keep it independent.
>
> The new patches looks clean. The davinci_gpio_irq_setup() function
> though could also do with couple more cleanups. Not all failure paths
> are doing the necessary cleanup (there are some non devres functions
> also called, but not cleaned up).
Linus,
Any comments on this series?
Regards,
Keerthy
>
> regards
> Suman
>
>>
>>> Changes in v2:
>>>
>>> * Removed the device tree patch for to keep the series independent.
>>>
>>> Keerthy (3):
>>> gpio: davinci: Use devm_gpiochip_add_data in place of
>>> gpiochip_add_data
>>> gpio: davinci: Handle the return value of davinci_gpio_irq_setup
>>> function
>>> gpio: davinci: Convert prinkt to dev_err
>>>
>>> drivers/gpio/gpio-davinci.c | 22 +++++++++++++++++-----
>>> 1 file changed, 17 insertions(+), 5 deletions(-)
>>>
>
More information about the linux-arm-kernel
mailing list