Re: [PATCH 4/9] backlight: atmel-pwm-bl: clean up probe error handling

From: Jingoo Han
Date: Tue Oct 22 2013 - 21:50:23 EST


On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote:
>
> Clean up probe error handling by checking parameters before any
> allocations and removing an obsolete error label. Also remove
> unnecessary reset of private gpio number.
>
> Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>

Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Best regards,
Jingoo Han

> ---
> drivers/video/backlight/atmel-pwm-bl.c | 31 ++++++++++++-------------------
> 1 file changed, 12 insertions(+), 19 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/