Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp812379lqa; Sun, 28 Apr 2024 05:37:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqPM7AZz/nvPX2eSMyy8+n8FB7bh1swoHgVnA+4W4lATiS/FlYgWc0MDS7pu4FyjKT3HdhYHRyxo3fBW+13uTbW8idsln1nKdidKn6pQ== X-Google-Smtp-Source: AGHT+IGmCe7/7KMU6bPuCGNik+qQ8GGhZhhffk+L/E8W37iSUEipKX1O31Ng4ByP5CIwuVWpQ3ao X-Received: by 2002:a05:6358:9604:b0:183:dda6:4470 with SMTP id a4-20020a056358960400b00183dda64470mr6055541rwb.12.1714307863670; Sun, 28 Apr 2024 05:37:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714307863; cv=pass; d=google.com; s=arc-20160816; b=iUIbMzcwaRem2tP/fWQWz3PFKmy8F+ME8YYg/9EqEub3+i1h+vua1JsBzwiny5Lt50 XiWwQWW3BOaDy344Qy3daC+Qf8vgYS1wMMXh/IVmH1HSt/dV/2TATmCM5U/KH3FZAHgO nxI7dcAhiSEtiGUjMP+YGPooDrn5TdfVmq7UcZrgon9E9R8iT/kUZdLR/3nRZ0e5PLJT 48Lryise8ubPcinsmGBadRdaKib42gTf+vD6iCIu4E5BuXCh5fZDwXjnwFtI8GKJkIjk c8eiLZh7KA8sgvlmfL72dgd5bO+5WfLM3uecbhHKF/JDxe0zNM/ycfj6j7SWQmHmFMQC LQIQ== 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:date:subject:to:from:message-id :dkim-signature; bh=WhRK7c5VI5zG7dpXv/k2M42hjr8IyRYvYtQoYcJ0eOU=; fh=AMvyLQXKb/6HwW1Y2AZxd+SvlKHszk1ZqvGed5TJi0U=; b=qbQs4WnkOyurnMa8dj8X6iiF7fnO2C9hESz2PuWj6G6+mRQQU2JtgUPqp96oz9iKKE TwQzC2UQnEDbCe5JrTrAYsZUQDQyGsEQ0afED0dFFadMmV1NmRhVNPFdn3vnvaGxw+sj BHBCNlPjk5L136kKbi/Y5lES8AvTxloGVRX++Je9AKeGaUAA/4wVMyuVmj0643aU9sVn B5wthaJ9ldz2C+iIYuX9aaGroPxcfJ3rZhF0xCeW8h3vKvZ0DO9gOEKxxKzP2VRcUyRL 11b0Y4A3cMhXHpdl1Dz8pD0B5DQ/2O3OuvJ8mJx4yegH9VdKJgNgFC5lKsCDGzy9cew8 QS3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b="ayQam/nL"; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-161420-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161420-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m10-20020a0562141bca00b006a0412f6d4bsi23466718qvc.369.2024.04.28.05.37.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 05:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161420-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b="ayQam/nL"; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-161420-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161420-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 645131C21078 for ; Sun, 28 Apr 2024 12:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FD446A8D2; Sun, 28 Apr 2024 12:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="ayQam/nL" Received: from out203-205-221-155.mail.qq.com (out203-205-221-155.mail.qq.com [203.205.221.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B608B44C6F; Sun, 28 Apr 2024 12:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.205.221.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714307857; cv=none; b=cdjmtAjn1q4JJA482NXgcsjoOILgrZc6B/iyqz0ugpSHIMTX4QG5G7fmdOg+CbmB/afGRw92WaNJgvNtxylmZAHgz5WTRsAfzYtnGv0AsxWQ2ypWENpJnE9r4r7XXv56GEmUiNSgoa7GJDocciXuyTvvnAIZTNt+9YkFn5a2JMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714307857; c=relaxed/simple; bh=TmOhP4qc8Qi8jh/T/QcsP5k7J4MiQIZY8f+q7/ewjis=; h=Message-ID:From:To:Subject:Date:MIME-Version; b=P+vNRCcHMlVUF2NhvUioksnJX1RDeLCD/Fdb9/mSTWhemvRtiNqyioHB7HD+oIu/6UVv/N6mMZFzE6BlpdHaiv0lErgmVzYg/USX6bAwx+7neF0bkxZXLuESd+f1zPPQ0CbseoyyBEhgP2Mj+/iJKW7kmUF5YeclUaczAuYtLp0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=ayQam/nL; arc=none smtp.client-ip=203.205.221.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1714307545; bh=WhRK7c5VI5zG7dpXv/k2M42hjr8IyRYvYtQoYcJ0eOU=; h=From:To:Subject:Date; b=ayQam/nLt2FDlH16TSK1lgc2CoL/nYgXtdi4Z4c9h9jk7MAaWLta1X4UTmU/Dyjn5 9HYs7gl3+nxLSj8nYe6cR01jbB1aTYOGZW1DoUViXi8/9Mf3j/0fEaAcggXsToWqVn 2TfilTe9VQUR/1mgrku9e2JkBwOpnTBzrFtuS5v0= Received: from pipishuo-OMEN-by-HP-Laptop-16-b0xxx.. ([123.115.148.131]) by newxmesmtplogicsvrszb9-0.qq.com (NewEsmtp) with SMTP id 4C8B4CD2; Sun, 28 Apr 2024 20:19:08 +0800 X-QQ-mid: xmsmtpt1714306748t5cry6yph Message-ID: X-QQ-XMAILINFO: MR/iVh5QLeiesT/qxp6yj39CByasNjpnL5Z9mIbo5D+NZ9po4qliBl7DIFt78D ITDjU605nzcmebLng8uzqyv7GojIslOw3SROUovLp80U7NtYgHQnx+0tG0sDkC4/pM60JQYKoO7t Sc+vbmlLFOlv7X0tMWf3+tqikoA56BEh+DMM5Dk1GSPcU9TD+GBbEd1roUWxE4AFFwgCR0iDXn8Z LaXMgDB6PqBeaz1v8uoeiG1eh5QLGos1LwTtyWf36ATlikbNTZIsVpx7vIVHcWrbXfismzSPwC0G +XCifmb0TFFO07iC2Lx9MyQjno6okveCNNfKqna0LEGzNp0oQ/GGvZiPpXQJAe/+dVs1Yz1zXVjl w0hKCqlP5nWcES09G7l18v93GFj85xB2QdzDiwhUc3cFs9gu1+w/yvaCVE8t0a9RHi/xmps0szop LN/43paZ/CXvrvxBV/VHobonLF1cePaUBzMk/ECZl5iPF+/d+0G1Uc7Yn77KUminZ091tYdvjEwt 2fCPcK2cmxfhPXR2/zB3zArhQNnd2XtBJ50S5fP2MRvQhocC1n80yo0trCqnUgF/g20xmoWdrks6 HLJYE0cjSdT+iEVS5YfFs6YPJoSYS6z5+AwZiaowHzc8U+3hXN8PYsYmWDFHERA20ph5hrKc/7Xv agjPWoZ6Z0jq/Nx0+EIFGTfUTkDocBNNuu8r7BXAixw9JmosQKKI1fYOsQftT+Tt5XanuVvw5msF URs7/MTpd7ccZ2Uy604K2VaoBx+w5YCUFzLDETlEkR1HCL+m/vWpCYMHimitSueAmWxL7U9vb2vK 7BcryxX+D7XLOL7LVFFenBBKXXwDsCsRM6P/KOpR5gboNr2z4SvJDjgWI7Nloi3g6FyoyXc8VMtm jyq6qdeBlI8XArgDPCYq2PNXnDyuvB/V6QO0x5sEBxGdi+Lp7lU4lkbfms6e3HijM4uAUcb8aGAw us/kan5KW3wwyvPVYAEtBKLnJcWR/OY9UMG+5SYU7lU2/8AWvgsEg/VKHtMaSdtOJBEQWZSmrVXA YzeRrEoJ9G5TB+eSHCM9xEtP82Ca6j4UXkIpg0/Q== X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU= From: pipishuo <1289151713@qq.com> To: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, 1289151713@qq.com Subject: [PATCH] staging: fbtft:fixes unnecessary parentheses Date: Sun, 28 Apr 2024 20:19:08 +0800 X-OQ-MSGID: <20240428121908.16060-1-1289151713@qq.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch fixes the checks reported by checkpatch.pl for unnecessary parentheses Signed-off-by: pipishuo <1289151713@qq.com> --- drivers/staging/fbtft/fb_ili9320.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_ili9320.c b/drivers/staging/fbtft/fb_ili9320.c index 0be7c2d51548..045275a9bc0b 100644 --- a/drivers/staging/fbtft/fb_ili9320.c +++ b/drivers/staging/fbtft/fb_ili9320.c @@ -37,7 +37,8 @@ static int init_display(struct fbtft_par *par) devcode = read_devicecode(par); fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "Device code: 0x%04X\n", devcode); - if ((devcode != 0x0000) && (devcode != 0x9320)) + if (devcode != 0x0000 && + devcode != 0x9320) dev_warn(par->info->device, "Unrecognized Device code: 0x%04X (expected 0x9320)\n", devcode); -- 2.34.1