Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1603475lqm; Thu, 2 May 2024 23:55:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUY44DFhzilbAJqce1WtjgjPjHN7ZtNKuhgUimhGpbg055Tgrsq4f9bx1/XQrKhO0yvGgMmRtd3zwuJJ6UyJ7Kb8lkFWEi7LvYAeYytSw== X-Google-Smtp-Source: AGHT+IFnddMxKu/iBmYXYpXMzDwN5V8h1wLLzVI7d6G9PczflXx4u0II/PMdxmMq8OD1YfGLh0Yz X-Received: by 2002:a17:903:1d0:b0:1ed:3c6d:7392 with SMTP id e16-20020a17090301d000b001ed3c6d7392mr1195932plh.8.1714719313424; Thu, 02 May 2024 23:55:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714719313; cv=pass; d=google.com; s=arc-20160816; b=AYlr0XFZG9rgt91k1RsIUwLbjakDuaN/7wH6wMSVO8QW6UZy1BQjT2xFcgq5Vudd4P U9U6LrF2Ha11LVEQqaz9przme1phwNCTqL1kQdAwpeX3XmrUkReXx+DP6p0fmHJ3QSDR eBN6Nm1Nmgk4BkHH1juxV5kvUm9DqUueMy+Vn7uVYrCibl+fcMTQh6FW9bRa8xS16qj5 iWPZBo6o1FvwdgaJECdjCfl/hIRzcsy0a46SNTw9idLcbOohaoQPPfe+ZrOtdcSnriWw FA4sDt+r/rRrqPlcfIPmfr3CYNTFdaf7qgXZ0iQTabJZjM4y6OvM5RXg3QgIdGfrcX4D yryQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=pAEE6F/lHC0qjSxFbOHdQMXput3X1kOxyC2NSyVYBlg=; fh=g5FvkkVcBHdBPQrvq0FaA6pLCGM/3KitL1Zws10bpjg=; b=clHOTgbeFIAnSthZEtgyM6vKCTJqWivy1QdGOWX1qOLZerZ1+hZ3kAkeWJ1HpSzgxw JyUOTcSHwL+5K16rmE2UmWAUN9M2yqxWVijOD0rLgY63mK8+8UrTsaaZ2YSoqtNkLcta SpEbjtdbi6NnxR49+ITlPFOKcicIDd9z9MIabh1O/o5duBRGVZnzcsAokaAsFXMOVM0Z LDetQ0OQFmpWCcyzp126T4QTh38P+IqQiFtNPqtYAtysY52bvcELAfzS0VYW0SFcWB2F QHIBFH7ZDqRwp8+rCZrDdjeBQNPyBgb9yFfw9oTaeW740UcWNYFYL58o+5T61GHe0ipI 4WrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=eprVmb7G; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-167289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v12-20020a170902d08c00b001ec6911e983si2337545plv.330.2024.05.02.23.55.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 23:55:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=eprVmb7G; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-167289-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 11738282B18 for ; Fri, 3 May 2024 06:55:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4E351465AC; Fri, 3 May 2024 06:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b="eprVmb7G" Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (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 032B057CA8; Fri, 3 May 2024 06:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.134.164.104 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714719307; cv=none; b=s1MP19t+Cog20fzvDFLTQ5z/ECiN9RXdEYTOOuLx1t1ZuO7dpptkFmu5b9ymXEcd+dK5CW0KZvTqQ6N/JOXGHFFwRFdJqnwtcjMeIcScEXrl7D6o5qssYn6fj+N9dLBPfglW9zdhD/j8sNuDlAtjSr47tdyK1gQBDkLyq5xfwAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714719307; c=relaxed/simple; bh=aeR6d7QNpNGKgjioiG0+Wi/T3DUmWoGfYOl6RO/Rd8o=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=MiEbue7WJZ9u8qSTAmUQfOPbj28AvPe5mb5fYlFAupRxClM7AptoDEDyzWR4lQ88HExsrkvYFUgtg1GsWXqLXwKzNdtxbFurgGVPe+KHFk+1MjGgEbATnR35XfwF8r5s9DxHAqMoL7M/rIj5V98FTr2utiErkP/HnHZSnY/y7uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr; spf=pass smtp.mailfrom=inria.fr; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b=eprVmb7G; arc=none smtp.client-ip=192.134.164.104 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=pAEE6F/lHC0qjSxFbOHdQMXput3X1kOxyC2NSyVYBlg=; b=eprVmb7Gv+jGy029uLyHQLJIW3qkFZGOd5emIquo3oByYR9gRPfZWw0o 0nsW4ZHbSPUrwxDe3CCQMiGhDVS5wHi8Uy7Q5XV6KrkKG5fk4jMn1xaTX EZZ5+C+HSUcI29As3FffHJTd8J1TOWSZ0QcI1MJ9dDq8eAQ/YNnQ2m3h+ o=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.07,247,1708383600"; d="scan'208";a="86281735" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2024 08:54:56 +0200 Date: Fri, 3 May 2024 08:54:55 +0200 (CEST) From: Julia Lawall To: Ashok Kumar cc: Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: fb_tinylcd Alignment to open parenthesis In-Reply-To: Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Thu, 2 May 2024, Ashok Kumar wrote: > Corrected coding style CHECK: Alignment should match open parenthesis Ashok, I think the code is nicer as is, because it has all the constant numbers lined up. julia > > Signed-off-by: Ashok Kumar > --- > drivers/staging/fbtft/fb_tinylcd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/fbtft/fb_tinylcd.c b/drivers/staging/fbtft/fb_tinylcd.c > index 9469248f2c50..60cda57bcb33 100644 > --- a/drivers/staging/fbtft/fb_tinylcd.c > +++ b/drivers/staging/fbtft/fb_tinylcd.c > @@ -38,7 +38,7 @@ static int init_display(struct fbtft_par *par) > write_reg(par, 0xE5, 0x00); > write_reg(par, 0xF0, 0x36, 0xA5, 0x53); > write_reg(par, 0xE0, 0x00, 0x35, 0x33, 0x00, 0x00, 0x00, > - 0x00, 0x35, 0x33, 0x00, 0x00, 0x00); > + 0x00, 0x35, 0x33, 0x00, 0x00, 0x00); > write_reg(par, MIPI_DCS_SET_PIXEL_FORMAT, 0x55); > write_reg(par, MIPI_DCS_EXIT_SLEEP_MODE); > udelay(250); > -- > 2.34.1 > > >