Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp388980rdb; Sat, 17 Feb 2024 13:14:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXriSxW5GZzqxud5hlxp3BVAMgEAqk72VIbws3XutcpdVZIy7po8Ed7rVYCkLRXoIJrST9AVdEN+yVltLOD8Oig11dvOXtIyI6BLPO7SQ== X-Google-Smtp-Source: AGHT+IFstJJ+Eq/A6hBlrrgf0NWEUm9SfPXD6I9Qp1izRmONYDsmMZCJ/Llh25b+NYxbEfmD821B X-Received: by 2002:a50:fa84:0:b0:564:3c8d:5302 with SMTP id w4-20020a50fa84000000b005643c8d5302mr670315edr.38.1708204441871; Sat, 17 Feb 2024 13:14:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204441; cv=pass; d=google.com; s=arc-20160816; b=RGYS+SKygRtBnNIJshEbo7RcwbJMO6UNI49dxTOj2RM8TpMHWL2vOA3StGqcNV8tnd RI7W6ltFIbozk6y0LRSx5I4YMFGEdXoEssrELR94nudO+OmBKjHHwwB6p0W22Mvur2KG bfZ6iQM8mWrpsX16Hy7k3zOOLa866kxksetohp8cS3taVIE2OkTXpNZ1RuBt3cvmjaUg NO+DwhF1u8wTvmW4AXIyqZ2RWPFYobf3gsQxbYYr4rAklOKrXQPNm0cF9STQVc+FeMQ3 ErjMr9xb07efX/WNEfSnXnXBPnTayvxJlxUEyiUS1UCKKOVuV2eL0dMWF57zMlu4vYRU OzzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; fh=f6ou42qxVYAmMGYgcw3CEyHMZSPcpV0ZGiNSe3XfOvI=; b=tvPB+Je5kE5qEb05G2BK43Vy/r7imZw/xHHTpD7AX8mviI1SpV9HOEhX7tnjMJAFhG hNsPGizzPGIBS2kMqwz5x8m/pM3nlTNnCi58WKb7kDcZSzlE9+7hwgjGsD452FofZwbG Kei9zcEOufvILoTb1Q3YPe4k1V69lUie/cyf0kqwjFLoQ/0mU+BUi2KpXRoZf3Qmxt9G j0SJXmwWkQzHjeyRO2WotukzbxtaLdg05k5fi1ZIla6tkIfLpuMdRCPWyN0gElONy+SW n6hQDb9UHzyVn0AGDQ389PJoDAF3+EzOJ/xtbo/ERKXOZjpSp4VrSzrNPGAVEEvMcFLP hyZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MwkBlgzJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70085-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cw19-20020a056402229300b005633527aa52si1097018edb.210.2024.02.17.13.14.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:14:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MwkBlgzJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70085-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A00D11F22037 for ; Sat, 17 Feb 2024 21:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 418C080052; Sat, 17 Feb 2024 21:13:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MwkBlgzJ" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6B71657BE for ; Sat, 17 Feb 2024 21:13:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204421; cv=none; b=fYU03k38Bt98aAXedwXT6aY99AtJyLLrAEi3Lgfjo+A4UL410B0TWLcxSwjSK2os791ipAkUcobk7wpnKLmby02FUAPKcunjdYgePJkcLQYQwOxBOrlh26EqymyPWiEClLhigOOZVX7INtFo/QR4mbmmIdz627jTWTOb78WueEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204421; c=relaxed/simple; bh=nx+tftz1nBVA1JDthW839KRrG90SMOUclvTtsVrk+RY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KeWMI6udAUip6/dXKArVLSBI68fvOs0NaYV/QZA2hZ3+GW5QBOMECUF79o76dmKjHkC9GfMi9IJiZzUN0HmAOc7+U0FGIZQyoEXbXap7VH2oWuwOo0o3wzcxVYwKZxySQtlHyUcxIrR+SLWI7XS9zLWBgAPEcRGv+cyfZL0i2M0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MwkBlgzJ; arc=none smtp.client-ip=209.85.208.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d1080cb9easo43022791fa.1 for ; Sat, 17 Feb 2024 13:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204418; x=1708809218; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; b=MwkBlgzJR0jNvqgf2rPna3qliDdbr30qojIw1tK+ugawPaaEzD0sRjWUeaGaSafdBq SWApM2Kw+VnsV1M1H1XkgJz4TmXMqHAPJ8JbdFMY69gtvCYxj+hvy65uv7omQGRYHSaR CkdSMIyvv2Y3ObG6WWrBME9d3hhU3s8X1GzbQ1AWHUza+rr4cyb2NVwajflfc0e1m206 9kQ0vUJewS90HzHcQVnAxeTYsXEykDg7kxPyG5b7tvDFpWNTua9eOwCXo6jR47ALIBSj iWLGZsBWfZBUfiSMT/lNuinuJIQJHnvXnKjx1CrwuKEUJi5eQR5k8bSWrJJd01p09fgX +xEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204418; x=1708809218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; b=XCqp9rzst/U3QQxtWyCT167JlELUt6w5PettivBY5WmcMHhUFRhonx0JuNKtbh2F+e H/ZrF3s3mBf6ran1Hw8u+geoB4Vh9WtJU0rX2xquNtCcteYrGzQBaxCTZYNIZWnZoE03 DX1Xx/wxrxUkbp3q1VsYPNYbGB2T+LgvElMXRlLS7fwlwc00MHBlJ0UAQZSZGnNcQ3b/ 9JdalGlJePPtUvsFqPMvh0h4umdQgUVKlwK6mi8/LtvxH8Aj3VGv/Dtr60MX0n/tQOUv HSCTMewFo9E/R830gqAg2gjoea0y/LE3Cr1AET1nq6A/Sewv5+S9I/ORweiB6fkJ7Mpy JPEA== X-Forwarded-Encrypted: i=1; AJvYcCVVQlf9hbGOkVJTf6fAxFqO8oZZmyXGONPoynvUGjUo0MG2NOdH1lh0mJSoJ3BA2AJ3p+kd4eFrnZVgaluFcLTt8ilUkwPExfbbQ27k X-Gm-Message-State: AOJu0Yy7A/lCR2MV1O26icW9mPihgipfiZGI9wSdfeIAWrszE8OCGHbc W2MEacxG5KKM8spk/z+Lp/Xc+HGaQbqHOdQOmdgG82JmRAoKv/ITDCEfm9dp X-Received: by 2002:a2e:a543:0:b0:2d2:ccc:ac2c with SMTP id e3-20020a2ea543000000b002d20cccac2cmr6041608ljn.4.1708204417902; Sat, 17 Feb 2024 13:13:37 -0800 (PST) Received: from pinguine.lan (ip-176-198-146-182.um43.pools.vodafone-ip.de. [176.198.146.182]) by smtp.gmail.com with ESMTPSA id n3-20020a05640206c300b005644eca3befsm132087edy.85.2024.02.17.13.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:37 -0800 (PST) From: "Moritz C. Weber" To: florian.fainelli@broadcom.com Cc: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Moritz C. Weber" Subject: [PATCH v2 3/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:41 +0100 Message-Id: <20240217211246.28882-4-mo.c.weber@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240217211246.28882-1-mo.c.weber@gmail.com> References: <20240217211246.28882-1-mo.c.weber@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../vc04_services/bcm2835-camera/bcm2835-camera.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index 1fa868163..dfa9e7670 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -418,11 +418,10 @@ static int enable_camera(struct bcm2835_mmal_dev *dev) int ret; if (!dev->camera_use_count) { - ret = vchiq_mmal_port_parameter_set( - dev->instance, - &dev->component[COMP_CAMERA]->control, - MMAL_PARAMETER_CAMERA_NUM, &dev->camera_num, - sizeof(dev->camera_num)); + ret = vchiq_mmal_port_parameter_set(dev->instance, + &dev->component[COMP_CAMERA]->control, + MMAL_PARAMETER_CAMERA_NUM, &dev->camera_num, + sizeof(dev->camera_num)); if (ret < 0) { v4l2_err(&dev->v4l2_dev, "Failed setting camera num, ret %d\n", ret); -- 2.30.2