Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755379Ab3JWBuT (ORCPT ); Tue, 22 Oct 2013 21:50:19 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:61706 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754256Ab3JWBuQ (ORCPT ); Tue, 22 Oct 2013 21:50:16 -0400 X-AuditID: cbfee68d-b7fa16d0000029b0-2a-52672b5724eb From: Jingoo Han To: "'Johan Hovold'" Cc: "'Richard Purdie'" , "'Nicolas Ferre'" , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, "'Jingoo Han'" 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> Subject: Re: [PATCH 4/9] backlight: atmel-pwm-bl: clean up probe error handling Date: Wed, 23 Oct 2013 10:50:14 +0900 Message-id: <001c01cecf92$37eb85c0$a7c29140$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7PS/T8Kp166tehRPC4J0DCD7MjYAARidGg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPIsWRmVeSWpSXmKPExsVy+t8zfd1w7fQggy9nxS1eHtK0uLzwEqvF 3lXSFif6PrBaXN41h83i2+Vmdovdu56yOrB7LPi1lcVj56y77B575v9g9ejbsorR4/MmuQDW KC6blNSczLLUIn27BK6MxeczC1pZKh7samBsYFzB3MXIySEhYCJx5/wZNghbTOLCvfVgtpDA MkaJt98SYWq277kNFOcCik9nlGh6e5MJwvnFKDHl7w+wSWwCahJfvhxmB7FFgOwnvUfYQYqY BbYxSpxYvo8ZYmylxPuzZ8CKOAWcJJ6+u8AEYgsL+Esc3v2fFcRmEVCVOPjqIlg9r4CtxJnv fxkhbEGJH5PvsYDYzAJaEut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2pwUJsSaWFVfmHmKU4GBWEuFt9gUK8aYkVlalFuXHF5Xm pBYfYkwGenQis5Rocj4waeWVxBsam5gZWRqZWRiZmJuTJqwkznuw1TpQSCA9sSQ1OzW1ILUI ZgsTB6dUA+M0u12bn7MIpmWd4275cE+2xmRhj8lH9aBLsmvu3t4zdbPaHTPRS9Z1zy7Mrjve I3x36eSbNytP1yT0ae14srsptG7qN/eOqUebb2x0LrkWN3lDRuM8iZtV7cVcyt2GFrbray8p G0U9Efye93X9atPb943qE4Kk5R88Ud8g8EJYZGuGwxPJVelKLMUZiYZazEXFiQCtxmu8UAMA AA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 745 Lines: 22 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/