Message ID | 20230402200951.1032513-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1901162vqo; Sun, 2 Apr 2023 13:12:05 -0700 (PDT) X-Google-Smtp-Source: AKy350Zkd7HXEwuh3FQR4fAQqaSlPdyysuhGd34RpcvuqhPD2KsM6KA8UOfew91zVIfty0meF2Y8 X-Received: by 2002:a05:6402:752:b0:4aa:a280:55b5 with SMTP id p18-20020a056402075200b004aaa28055b5mr14763585edy.20.1680466324817; Sun, 02 Apr 2023 13:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680466324; cv=none; d=google.com; s=arc-20160816; b=adtivc9kW56NDYhfMxyMT5IGKi9xKXZCyHkNtnqi7Zyfc+CuqNJcBnDF2uh2FAoZwJ AvaOC6AbpdK/bEwpnsI3hRu0PSQSFZWNMO0IkSyf9gdVJVGFsF54uQkJUPAR7Emp7UCy wb62UtW+gAiBgwgfKVarQTdpMcQMViN9DbQXHr5XCYEIL4chfFL5Ven25Tq9Rn+0qESE fdmp4PsKMVgWE6JO2i6dGmbWvUHqGh2L5mfPg3Lb/O+SFcPKvoO+jxraouwVLtSATauY M3RnGl+AJk4BGv85jP/jO4KrnY6xCJDea4rR6o30UukWotqDtTAFubKhdoWUl7l8eH/s ZtgQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020aa7c648000000b005024d6d6d5bsi6511724edr.532.2023.04.02.13.11.41; Sun, 02 Apr 2023 13:12:04 -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 S230420AbjDBUK3 (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Sun, 2 Apr 2023 16:10:29 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Sun, 2 Apr 2023 13:10:16 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id cn12so109554807edb.4 for <linux-kernel@vger.kernel.org>; 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 <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Oliver Graute <oliver.graute@kococonnector.com>, =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, Wolfram Sang <wsa+renesas@sang-engineering.com>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762096657110306162?= X-GMAIL-MSGID: =?utf-8?q?1762096657110306162?= |
Series |
Input: edt-ft5x06 - convert to use regmap API
|
|
Commit Message
Dario Binacchi
April 2, 2023, 8:09 p.m. UTC
It adds spaces around '-' as recommended by the Linux coding style.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
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; }