Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756335AbaAGBc1 (ORCPT ); Mon, 6 Jan 2014 20:32:27 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:44874 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755496AbaAGBc0 (ORCPT ); Mon, 6 Jan 2014 20:32:26 -0500 X-AuditID: cbfee68f-b7f156d00000276c-fa-52cb5929175b From: Jingoo Han To: "'Andrew Morton'" Cc: linux-kernel@vger.kernel.org, "'Jingoo Han'" , "'Milo Kim'" References: <002101cf0b48$0d38a280$27a9e780$%han@samsung.com> In-reply-to: <002101cf0b48$0d38a280$27a9e780$%han@samsung.com> Subject: [PATCH 3/3] backlight: lp8788: remove unnecessary parentheses Date: Tue, 07 Jan 2014 10:32:25 +0900 Message-id: <002301cf0b48$51bb8b70$f532a250$%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: Ac8LSA0gEKLTvq6wRRuOH6kV6zbuQQAAC+MQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDIsWRmVeSWpSXmKPExsVy+t8zY13NyNNBBjMnqVrMWb+GzeLywkus Fpd3zWGzWP5rHYsDi8eJGb9ZPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBmXVv9i KnjEUXHp91HmBsYt7F2MnBwSAiYSbUfOQtliEhfurWfrYuTiEBJYxiix8esili5GDrCirwsK IeKLGCVWTtvKBOH8YpRYsGkVK0g3m4CaxJcvh9lBGkQE9CXaWjRAwswCKRJnrq1mA7GFBGwl XjYfYAaxOQXsJLb8+swCYgsLuEm8278dzGYRUJV4sOMKWD0vUP2pv5cYIWxBiR+T77FAzNSS 2LytiRXClpfYvOYtM8Sd6hKP/uqChEUEjCReLV/BBlEiIrHvxTtGkJMlBM6xSxz7NRVql4DE t8mHoH6UldgE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YklqdmpqQWpRTBbmDg4pRoYF7G0t7avfe0Q +PDd9rNWfVpFtYH1rdlGyTucp7Tk+MaFZ13wrqg8fukft2JPX/7l5hvHrnwJml2tzcxfrShh MjPiWMK5fl3RQFYu3ponZ0tOsl370faJSTK97ZIAS8MBrwePIk29t6apBS9JU8yq2zj9md3n NjUtpe7Ts7/wWzx5UbXvmLUSS3FGoqEWc1FxIgAJjiZzPAMAAA== 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 Remove unnecessary parentheses in order to fix the following checkpatch error. ERROR: return is not a function, parentheses are not required Signed-off-by: Jingoo Han --- drivers/video/backlight/lp8788_bl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index e49905d..daba34d 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c @@ -63,13 +63,13 @@ static struct lp8788_bl_config default_bl_config = { static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) { - return (mode == LP8788_BL_COMB_PWM_BASED); + return mode == LP8788_BL_COMB_PWM_BASED; } static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) { - return (mode == LP8788_BL_REGISTER_ONLY || - mode == LP8788_BL_COMB_REGISTER_BASED); + return mode == LP8788_BL_REGISTER_ONLY || + mode == LP8788_BL_COMB_REGISTER_BASED; } static int lp8788_backlight_configure(struct lp8788_bl *bl) -- 1.7.10.4 -- 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/