From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jingoo Han Date: Wed, 23 Oct 2013 01:50:14 +0000 Subject: Re: [PATCH 4/9] backlight: atmel-pwm-bl: clean up probe error handling Message-Id: <001c01cecf92$37eb85c0$a7c29140$%han@samsung.com> List-Id: References: <1382462819-28576-1-git-send-email-jhovold@gmail.com> <1382462819-28576-5-git-send-email-jhovold@gmail.com> In-Reply-To: <1382462819-28576-5-git-send-email-jhovold@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Johan Hovold' Cc: 'Richard Purdie' , 'Nicolas Ferre' , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, 'Jingoo Han' 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 Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 31 ++++++++++++------------------- > 1 file changed, 12 insertions(+), 19 deletions(-)