Re: [PATCH v2 1/2] mmc: atmel-mci: Switch to using managed resource in probe

2014-09-24 Thread Ulf Hansson
On 23 September 2014 14:51, Pramod Gurav wrote: > This change uses managed resource APIs to allocate resources such as, > clk, gpio, io in order to simplify the driver unload or failure cases. > Hence does away with release statements of the same resources in error > labels and remove function. >

[PATCH v2 1/2] mmc: atmel-mci: Switch to using managed resource in probe

2014-09-23 Thread Pramod Gurav
This change uses managed resource APIs to allocate resources such as, clk, gpio, io in order to simplify the driver unload or failure cases. Hence does away with release statements of the same resources in error labels and remove function. Acked-by: Ludovic Desroches Cc: Ludovic Desroches Cc: Ch

Re: [PATCH v2 1/2] mmc: atmel-mci: Switch to using managed resource in probe

2014-09-23 Thread Ludovic Desroches
On Tue, Sep 23, 2014 at 03:50:05PM +0530, Pramod Gurav wrote: > This change uses managed resource APIs to allocate resources such as, > clk, gpio, io in order to simplify the driver unload or failure cases. > Hence does away with release statements of the same resorces in error /s/resorces/resource

[PATCH v2 1/2] mmc: atmel-mci: Switch to using managed resource in probe

2014-09-23 Thread Pramod Gurav
This change uses managed resource APIs to allocate resources such as, clk, gpio, io in order to simplify the driver unload or failure cases. Hence does away with release statements of the same resorces in error lables and remove function. Cc: Ludovic Desroches Cc: Chris Ball Cc: Ulf Hansson Cc: