Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3696928rwl; Sun, 2 Apr 2023 13:12:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZsmwFgIojAsMmu+QCVDhV6NAcrDWzLGqPQXzP6ZSvw0ZnsD4vDsZ0UPnkWXOaAKlshMDu/ X-Received: by 2002:a05:6402:516:b0:500:58c2:41f3 with SMTP id m22-20020a056402051600b0050058c241f3mr16162794edv.19.1680466342818; Sun, 02 Apr 2023 13:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680466342; cv=none; d=google.com; s=arc-20160816; b=pLIblajoML5FIKm0GkP/vfM/WsAhVtdQj8dWjfLQfYFR00AwTP3KWdxud8jUHp+TYH ufeogcPA3A+ok+GJdwvo2tJo2YKNCh97oRTpwGzm20O8v2o2MtvTvmbXMXOPVuUGP4kE Akw50BvHu5TGWGs8AWBvClNjJFnCd4y7164p8nOp1ZFIHWazHlQiLZueQOXsiZVlpfbf eqhWDuwSyNa6j1JYEztTtYYSJVqG04evSZ5dZ1lx2WnuZqcCN0K49CW9pM1+45NaDppz GQRmCYx9ODw6rlb9KsZZqJm2UeCraunkBoLJv3HCkyEbh5q5ebB6LkyHHn0HHCUzuf/Y qAaA== 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 :dkim-signature; bh=QYEoj3HNykDYYL4XbvupGelYH0ebBXdpkyODlCn0pFQ=; b=KNyoTKj43ZtgUTAA15JWqRHf3fSutSFOl4XLjASsLYJfa3qtj16VyTboaDmvL85FkM q/CTE5oDVW0nfb9rTE/OXpkUQ02jGbJgs6haeKh0Pp4GwjZt+7lC8vw6/gA4N0BHHVdo NHnThgPliEFNJlJcauJqNCgbtwoZkQx0EpFs0vLAt4dP1nehZ6k8U6qatkWkBPQuNxgI mWfuy8tiJwOxBEJsmnA7VZjXfQnzrsAAejmUllM8YlSD4bAo59/9JK35AGrzUEIDUbLB B9IAavHM9NT4gUk/sL/V8+2tIy1QMjOubAIVUfykXvW8P8T/st8Vlkjcf/5eG4aPwrr7 8YYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q7TzE39D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020aa7c913000000b004bc4fc261f8si4084006edt.102.2023.04.02.13.11.58; Sun, 02 Apr 2023 13:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q7TzE39D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbjDBUK2 (ORCPT + 99 others); Sun, 2 Apr 2023 16:10:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbjDBUKS (ORCPT ); Sun, 2 Apr 2023 16:10:18 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8235BB96 for ; Sun, 2 Apr 2023 13:10:16 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id cn12so109554807edb.4 for ; Sun, 02 Apr 2023 13:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1680466216; 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=QYEoj3HNykDYYL4XbvupGelYH0ebBXdpkyODlCn0pFQ=; b=Q7TzE39DQ+L0qB2Qih8MrfiRtgoebzX/vDV9Hs1ivN5YUoBKGDuLNuSZMGLdMoTOI9 qusPXgoWIaxMR1t79Y0Lo1/hRqdm94kPlaOEFI8lcoJviD2+RDFhbSKVva2WJeVyUDvR wwN/js2Ky8cqIlHxrQqil+yqnt0VBTe7p51Os= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680466216; 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=QYEoj3HNykDYYL4XbvupGelYH0ebBXdpkyODlCn0pFQ=; b=DvowN69Qc/tFqdR2IU6qJX4Hf0KgZ1XoAnk3PUN7DV7UaV6d6uO/xXFU5Glv/2hxJr T3mhiyVHi5rIkjZPolLOCTQYtkXsJi38nhk2R+H94eIhVdpkqFjkKfentisdWZjpwUNG kMHg5faA1oDnM0roVrEIqCmgrNz1aU6fmGyHopaa9O0GdAEUNYvRaBrLvdqNnQsP4Xjj LQvTw4ocon+NHjXXmOGp1aKD++ckr4Sj+jkRkN1to+c8TxpW32Wet2vb3Fv6RYu59P7I EPCXnZSXBXk6sSdbXQp3TJwvyG5C49zSM4dW5p8bvcvtObO5fSNOIkvwdv6q0k6UDKWd ttug== X-Gm-Message-State: AAQBX9c1meqXHzyZma3NqoD+Zp9wbSUCFN5LqPANL1WFxrojws+24Cez Z5u2dIXUhysTUAkpEWDY/UaR0hnTY/65yX0YbTw= X-Received: by 2002:a17:906:f754:b0:92e:fcc9:aa22 with SMTP id jp20-20020a170906f75400b0092efcc9aa22mr16072121ejb.37.1680466216192; Sun, 02 Apr 2023 13:10:16 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-153.retail.telecomitalia.it. [95.248.31.153]) by smtp.gmail.com with ESMTPSA id gl18-20020a170906e0d200b00924d38bbdc0sm3553127ejb.105.2023.04.02.13.10.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 13:10:15 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Dario Binacchi , Dmitry Torokhov , Jonathan Cameron , Oliver Graute , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Wolfram Sang , linux-input@vger.kernel.org Subject: [PATCH 3/9] Input: edt-ft5x06 - add spaces to ensure format specification Date: Sun, 2 Apr 2023 22:09:45 +0200 Message-Id: <20230402200951.1032513-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230402200951.1032513-1-dario.binacchi@amarulasolutions.com> References: <20230402200951.1032513-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It adds spaces around '-' as recommended by the Linux coding style. Signed-off-by: Dario Binacchi --- drivers/input/touchscreen/edt-ft5x06.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index c0ad3e4b6662..c96fe6520578 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c @@ -183,11 +183,11 @@ static bool edt_ft5x06_ts_check_crc(struct edt_ft5x06_ts_data *tsdata, for (i = 0; i < buflen - 1; i++) crc ^= buf[i]; - if (crc != buf[buflen-1]) { + if (crc != buf[buflen - 1]) { tsdata->crc_errors++; dev_err_ratelimited(&tsdata->client->dev, "crc error: 0x%02x expected, got 0x%02x\n", - crc, buf[buflen-1]); + crc, buf[buflen - 1]); return false; } -- 2.32.0