Re: [PATCH 4/4] power/jz4740.c: Simplify exit of function

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 01:41 AM, Marcos Paulo de Souza wrote: > This commit simplifies the exit of probe function, by returning > directly when it don't need to release any resources. > > Signed-off-by: Marcos Paulo de Souza Looks good, but I'd just fold the relevant parts in the previous patches. >

Re: [PATCH 4/4] power/jz4740.c: Simplify exit of function

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 01:41 AM, Marcos Paulo de Souza wrote: This commit simplifies the exit of probe function, by returning directly when it don't need to release any resources. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com Looks good, but I'd just fold the relevant parts in the

[PATCH 4/4] power/jz4740.c: Simplify exit of function

2012-10-18 Thread Marcos Paulo de Souza
This commit simplifies the exit of probe function, by returning directly when it don't need to release any resources. Signed-off-by: Marcos Paulo de Souza --- drivers/power/jz4740-battery.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH 4/4] power/jz4740.c: Simplify exit of function

2012-10-18 Thread Marcos Paulo de Souza
This commit simplifies the exit of probe function, by returning directly when it don't need to release any resources. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- drivers/power/jz4740-battery.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-)