Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp888414imw; Fri, 8 Jul 2022 13:46:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sI0Ml3ZFXdWPNyT/Bb5e83/SI0fQdWkn+x9pxsd8g8nTqGkltEwE9CvSXdJ7AxUmy/mdOO X-Received: by 2002:a17:90a:ab16:b0:1ed:2251:a878 with SMTP id m22-20020a17090aab1600b001ed2251a878mr1864770pjq.231.1657313161226; Fri, 08 Jul 2022 13:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657313161; cv=none; d=google.com; s=arc-20160816; b=043C6AECwmi5RTttGZaeWi+AWOq/0Vz8rYcG5tedgiK2/Rg6BIZ6Qfo3qm9ur309PF V18ZlNkyAe+2nHfYxRd0Gxhfl/qj0okbP3E8Cf50bdf6Nnts4E2hNGsZznDr9BqVFNlv p7VDz6g7cU9D2sivQjqoxLjFE+8/UDeNelPWVIPsyVEnQgDTIrC1K756G/fZHVdzMx+z rNyixi8U0TkZ6WiMpGN255cnaKPfbXiDfIs4fz+DBKv4U2b07hhzVl/n9i2mAiP0BFBi cX1OE9ytqB0xfj59Ljxfp/2TxUUvUkfT7cRY84xgUqFd6u4qYWo2m0Npapre6ewIynq6 takw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pqof1NbnoJxDFVmYYBBsuonZGRfFUUyM9TE/ra6yYKo=; b=Mi/rIYUbSSVCmQ26k8PJc8xB/+UNp3dde4VBrrijlx+YWmY+J14Xot3TS5qecGHqWa PctCX/gx//re6NGDEZNLQqp8dZkg4OGGUBEkdGXgbjTW/wVBpcexe6ylHfsNJvHPAqCF LO7p7OdtUIT3+QVTN7AQIM3IK9VsATXpPLkNDCVP2TsjWXYNV7kafr9eK7vjkxFbRYdo 4WqTo1EqpZtBYKexmO5b27LtcjU5etsGiYFglA9283Ei349oH+IRHPAKT7RcFm2nlc6K 22jC5IJ5eY307DJcZ15Cpuzggnv9Z6HltqXC0D6dFGf0w8o4VJROkrVd1b4VX12Iif8Y uB4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=plHOhqcO; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a170902ec8300b0016bea2a24casi14180020plg.3.2022.07.08.13.45.48; Fri, 08 Jul 2022 13:46:01 -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=fail header.i=@microchip.com header.s=mchp header.b=plHOhqcO; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238748AbiGHTlN (ORCPT + 99 others); Fri, 8 Jul 2022 15:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238577AbiGHTlM (ORCPT ); Fri, 8 Jul 2022 15:41:12 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBED120BD7; Fri, 8 Jul 2022 12:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657309273; x=1688845273; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SBc+jIVZ5D9QGkUd2tKv1znRqGhDqmRrooiolgBYk2E=; b=plHOhqcOiUcNZeXBphprcn6J/UorDvmlho9OLm+ZamvcqJH0dkFHMRA3 oT56co4Qh3BOReOlk5GNMiVftOTxAkkGHIv0pqZPak4dGbxa/VajHIjtJ jRhqBoT+bri/Y0K8RwdRX9BX8HJbG4cUVwRSGGZoKqNicPwknUh6qBqW/ iznKfr8QkxbARLAAY0PODRanRy6ec7TZ1XWb7Wzh6+DSBuLTtGskOqXUy LksqO0g8pouJ/NqlwxNFsuQ3Lpch6VjqR/nAm3UOuC+rJguVCSBmO0NCO w3KEQ5RIVbw00uLGFeOi+i+B3UZeRn2LJqCHFMbpzZlcwOvO3YPgf50Gb g==; X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="171381528" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Jul 2022 12:41:12 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 8 Jul 2022 12:41:11 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 8 Jul 2022 12:41:10 -0700 Date: Fri, 8 Jul 2022 21:45:10 +0200 From: Horatiu Vultur To: Michael Walle CC: , , , , , , , Subject: Re: [PATCH 1/2] pinctrl: ocelot: Fix pincfg for lan966x Message-ID: <20220708194510.ufwsj5sqvs42zk4c@soft-dev3-1.localhost> References: <20220707185342.2697569-2-horatiu.vultur@microchip.com> <20220708082752.1745233-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20220708082752.1745233-1-michael@walle.cc> X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 The 07/08/2022 10:27, Michael Walle wrote: Hi Walle, > > > -static struct pinctrl_desc luton_desc = { > > - .name = "luton-pinctrl", > > - .pins = luton_pins, > > - .npins = ARRAY_SIZE(luton_pins), > > - .pctlops = &ocelot_pctl_ops, > > - .pmxops = &ocelot_pmx_ops, > > - .owner = THIS_MODULE, > > +static struct ocelot_match_data luton_desc = { > > + { > .desc = { > > Same for all the structs. Yes, I will do that. > Also it looks like it is way too big > for a stable backport: > "It cannot be bigger than 100 lines, with context." Don't you think it is a little bit silly to apply that rule to this patch. In the way that 70% of the patch is just indentation. > > > + .name = "luton-pinctrl", > > + .pins = luton_pins, > > + .npins = ARRAY_SIZE(luton_pins), > > + .pctlops = &ocelot_pctl_ops, > > + .pmxops = &ocelot_pmx_ops, > > + .owner = THIS_MODULE, > > + } > > }; > > -michael -- /Horatiu