From patchwork Tue Dec 24 11:42:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3402031 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 04196C0D4A for ; Tue, 24 Dec 2013 11:45:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 055B6205F5 for ; Tue, 24 Dec 2013 11:45:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B3BD205B5 for ; Tue, 24 Dec 2013 11:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752055Ab3LXLpn (ORCPT ); Tue, 24 Dec 2013 06:45:43 -0500 Received: from mail-pb0-f52.google.com ([209.85.160.52]:59653 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887Ab3LXLpc (ORCPT ); Tue, 24 Dec 2013 06:45:32 -0500 Received: by mail-pb0-f52.google.com with SMTP id uo5so6416853pbc.39 for ; Tue, 24 Dec 2013 03:45:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MRLWFAEwwZG4SMJAvb2LdNR+paVL/4ajij3MaC7NSoE=; b=BT3ldDHkU0RR1rsL8l67St+KLxOxulUpXCbJ4aGi/0ytGww/D3rk/m0Nph90Edhldt 8qcrVdJskPgcXBHiKVKTjif3rBTLxS6Qgude1AD7MNdJBZCKeToIkKDJFml51GwjG5Ax TIMS46JTCvXn6baTZweNr/MbyKBJ1ZP9vIYvb8MgiJ+Muk6CKfdY6kO5aVNJYfgExOla IT0sPVF8GuZRH4fR3zCt+USNaAYgmhRdaIoe3k4jxBfXfUJojOIAwAsNl4WliefBpAbj sB2UjpxPzRcgcCJjMLXxtj+eE0EqjmLbGpKb2jIFWVYGW3YsnZRXedvMBZhU7UNYVNvi 5Qaw== X-Gm-Message-State: ALoCoQnTczrGXQbhQtp0Yz2q0akhDrF8wtVuR2qnDMHjv4L9zozOM3mf5cbBhuZQnviBJDIPTXER X-Received: by 10.68.251.133 with SMTP id zk5mr32070817pbc.69.1387885532120; Tue, 24 Dec 2013 03:45:32 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ug2sm53640678pac.21.2013.12.24.03.45.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Dec 2013 03:45:31 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: a.hajda@samsung.com, s.nawrocki@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 2/3] [media] s5k5baf: Fix checkpatch error Date: Tue, 24 Dec 2013 17:12:04 +0530 Message-Id: <1387885325-17639-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1387885325-17639-1-git-send-email-sachin.kamat@linaro.org> References: <1387885325-17639-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes the following error: ERROR: return is not a function, parentheses are not required FILE: drivers/media/i2c/s5k5baf.c:1353: Signed-off-by: Sachin Kamat --- drivers/media/i2c/s5k5baf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/s5k5baf.c b/drivers/media/i2c/s5k5baf.c index 139bdd4f5dde..974b865c2ee1 100644 --- a/drivers/media/i2c/s5k5baf.c +++ b/drivers/media/i2c/s5k5baf.c @@ -1350,8 +1350,8 @@ static enum selection_rect s5k5baf_get_sel_rect(u32 pad, u32 target) static int s5k5baf_is_bound_target(u32 target) { - return (target == V4L2_SEL_TGT_CROP_BOUNDS || - target == V4L2_SEL_TGT_COMPOSE_BOUNDS); + return target == V4L2_SEL_TGT_CROP_BOUNDS || + target == V4L2_SEL_TGT_COMPOSE_BOUNDS; } static int s5k5baf_get_selection(struct v4l2_subdev *sd,