Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3913532pxb; Mon, 4 Oct 2021 12:29:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUjT1RFW2vM8/oS93Ba5DSbp4ZJJ1VkB74Y1n6im0qxWceQXpBbuIUK9E+uWGh6BphMQei X-Received: by 2002:a63:b241:: with SMTP id t1mr12335099pgo.154.1633375778180; Mon, 04 Oct 2021 12:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633375778; cv=none; d=google.com; s=arc-20160816; b=SmL/ET20MPN5GlTOalSX68OBGhLJERAC7DYcfLR3ab5Wq/2Gx4eeWi+QdAzbR8Zcy8 XLyIR22aqq+pCtSHfGEysyXWjEJXhsFokoTOSLAhiCWo2ljHgUAfDEFhD2wdo1B9qA06 X6Or7N78cgt8r1vUN6O9tMIkFWaU8zOCQ6aTZv2YfcysVujFIovkzB07OdqnuhjY970p Ks6ZYZMHmJ7iL30Dl0AXgUQXNYh7bPTxMtnHDZC7uhncHZAYZxUZPbsqiIdCnNsV4xp+ ieHyS3PQ0lCN9J/MnkOuWSE1B3lWfNoL+qYs36aEc+NQSAeuCwwVoEugnf0UhyZGSM1N mGYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=01NODrVO0hiB43k3BO5AL60hhO5Bh5XyexFxObxwnPc=; b=TX/E0b1SYdQkUvKYlgxx1NJd9vLSDdz+XH8CyD8JUocdfaxrvO2DHK1IZifIAPI7vd H/Gp7KEt2rzLZZak/ikSc8Iq6ZcdnK4RJqjTfSEJDfLX9yqtf7x6OR8PSRlPq1Rq5AH+ 35Vdsdui5QJ65VKoLQTsiAvQ9d2KLClo8V0D08Qqm1h0XYE6KyQRl0UV2NqrdrwiAvzN 16cxknjn0H7GiMF3Z8o7Sp4zGzRADyzdJqaJYyrOWt16p1aermdfzwN+kBAsTu+Z5SEj i7d1S/syK2Zk4MY5zAbNt5B2q8gQCpRkohzhhFGwlYR9f0Ffe2vYPtG/pArKhXdVJQpP D/iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si20539698pgv.499.2021.10.04.12.29.26; Mon, 04 Oct 2021 12:29:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239104AbhJDT3t (ORCPT + 99 others); Mon, 4 Oct 2021 15:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239017AbhJDT3l (ORCPT ); Mon, 4 Oct 2021 15:29:41 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [IPv6:2001:4b7a:2000:18::162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F44C06174E for ; Mon, 4 Oct 2021 12:27:52 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-209-165-62.cable.dynamic.v4.ziggo.nl [94.209.165.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 3459E1F6AF; Mon, 4 Oct 2021 21:27:50 +0200 (CEST) From: Marijn Suijten To: phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Lee Jones , Daniel Thompson , Jingoo Han Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Pavel Dubrova , Marijn Suijten , Kiran Gunda , Courtney Cavin , Bryan Wu , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10] backlight: qcom-wled: Remove unnecessary double whitespace Date: Mon, 4 Oct 2021 21:27:39 +0200 Message-Id: <20211004192741.621870-9-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004192741.621870-1-marijn.suijten@somainline.org> References: <20211004192741.621870-1-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove redundant spaces inside for loop conditions. No other double spaces were found that are not part of indentation with `[^\s] `. Signed-off-by: Marijn Suijten Reviewed-by: AngeloGioacchino Del Regno --- drivers/video/backlight/qcom-wled.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index f143b2563bfe..dbe503007ada 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -235,7 +235,7 @@ static int wled3_set_brightness(struct wled *wled, u16 brightness) v = cpu_to_le16(brightness & WLED3_SINK_REG_BRIGHT_MAX); - for (i = 0; i < wled->cfg.num_strings; ++i) { + for (i = 0; i < wled->cfg.num_strings; ++i) { rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + WLED3_SINK_REG_BRIGHT(i), &v, sizeof(v)); @@ -257,7 +257,7 @@ static int wled4_set_brightness(struct wled *wled, u16 brightness) v = cpu_to_le16(brightness & WLED3_SINK_REG_BRIGHT_MAX); - for (i = 0; i < wled->cfg.num_strings; ++i) { + for (i = 0; i < wled->cfg.num_strings; ++i) { rc = regmap_bulk_write(wled->regmap, wled->sink_addr + WLED4_SINK_REG_BRIGHT(i), &v, sizeof(v)); -- 2.33.0