Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp342788iob; Wed, 18 May 2022 03:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1G85X5/JW15HICNXuhaVD7esqXR/Vo75sYjiIlYXkRechGd+x/B+ADkatgm06sftJHWfl X-Received: by 2002:a17:902:db0d:b0:161:9fb0:b84f with SMTP id m13-20020a170902db0d00b001619fb0b84fmr9066024plx.107.1652869789316; Wed, 18 May 2022 03:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652869789; cv=none; d=google.com; s=arc-20160816; b=LsfaJasfg+0zrp8XuopLEHf0mjHMbeP0A/O6WiduO92NGZdMi1USU7uRC5Nbanyv9D 8QJMcLSDlb6FNovxGTDBUCdBWwVTiOnvOIjRjwX4XLYcceyLxIVUzGylPUenZ/Ana7KR nFsT+ZPq/ZoJzpxowOkEy9XggJhWY+xOUOHmB4CGhTnBofE6QWjgs30OrORMeeJweayz Kl/Hg72hx3EJQkU15Y/wuEM4VsnpxZ2iPUDgiOsTvMWjWIgTY0sbfB0sluRya/4ynRn/ IAu/nMDCIADwDlw1+8kaLmpLr9xmDkl16ovB07xThL6WN6itM9WxZy27LZbU/1mzqegG R+sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=E/Am3wjGu8SwFvMCzI78fKjfbXO4SN8Vr9fg4nUwQhw=; b=Npzzls+i29MeEcHS/FZNaAAkVLxYarmkvPPbT/j0h+mlJ7su29deMGKRuoX60TcXZs 9EcCvfAvzb0Aih8Q79+xbf1FN2i7V4IZ3H8OhpUlO8iUherMklF4oSXiaBx1Rp2NtR7V Y7W/6GwcVPByDIXCE8NNEQQHfRunoutN/8iv32yLUFrfMB8EtP4WJgQ5o7zsNTfE7inn CV9SWV+4IQS3i32x2XHVzLLFMWufx94SZrOxPGtK9sJzf3fwsmeJyT6JoMJRa2KuxtGA ydp+efDXyzwWn4OOHkjMlZ3uno7RABDwk/pxwCKBzLm6IYjq6B/P8bCf8j7H/8/N+oCQ murQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZRF4xmiS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d12-20020a170903230c00b0016178b20d94si2340537plh.191.2022.05.18.03.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 03:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZRF4xmiS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1779455203; Wed, 18 May 2022 03:12:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235016AbiERKL7 (ORCPT + 99 others); Wed, 18 May 2022 06:11:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234980AbiERKLs (ORCPT ); Wed, 18 May 2022 06:11:48 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38B3323BE8; Wed, 18 May 2022 03:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652868707; x=1684404707; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fb/5ARR3YO8OMuxywWGPResY3kOWVu7cT520bf4RQsA=; b=ZRF4xmiSvVHNy/lyauhaFg1KM9QfKfLZoYugICHPLc9ZFakiA6+nbNEA QLnNMNICUmVS4LsHbi/LbufwSM7/RN4vMvFDisMMrJck2eH8Jh9GsuLAv 798PPSLzCRT/rYqgORuut0e9RLj4DNXSu+RVOvH4tTFA5NbW1Vm+ex/wR ssh0veNnrl+sj0r7/za4e4jIy4cwIcvtc6LLNdYqGE84UFfKuNY6M02jh /+RwHDc6l6uFntfQ3EBiYslZ3BonIHJZxX9SNYtgQac4S34YKwxu8ZZ0w KWgpElmDt/bHUcUI4ZCHhesoJxagMjO8e4Fl2WeqGGX4XGmOEKUyfD+yz A==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="252114448" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="252114448" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 03:11:47 -0700 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="639193497" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 03:11:44 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 18 May 2022 13:11:42 +0300 Date: Wed, 18 May 2022 13:11:42 +0300 From: Mika Westerberg To: Andy Shevchenko Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andy Shevchenko , Linus Walleij Subject: Re: [PATCH v2 1/2] pinctrl: intel: make irq_chip immutable Message-ID: References: <20220517163820.86768-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, May 18, 2022 at 12:05:38PM +0200, Andy Shevchenko wrote: > On Wed, May 18, 2022 at 11:19 AM Mika Westerberg > wrote: > > On Wed, May 18, 2022 at 11:46:06AM +0300, Andy Shevchenko wrote: > > > On Wed, May 18, 2022 at 08:08:17AM +0300, Mika Westerberg wrote: > > > > On Tue, May 17, 2022 at 07:38:19PM +0300, Andy Shevchenko wrote: > > > > > +static const struct irq_chip intel_gpio_irq_chip = { > > > > > + .name = "intel-gpio", > > > > > + .irq_ack = intel_gpio_irq_ack, > > > > > + .irq_mask = intel_gpio_irq_mask, > > > > > + .irq_unmask = intel_gpio_irq_unmask, > > > > > + .irq_set_type = intel_gpio_irq_type, > > > > > + .irq_set_wake = intel_gpio_irq_wake, > > > > > + .flags = IRQCHIP_MASK_ON_SUSPEND | IRQCHIP_IMMUTABLE, > > > > > + GPIOCHIP_IRQ_RESOURCE_HELPERS, > > > > > +}; > > > > > > > > You still have the inconsistent alignment here. > > > > > > I'm not sure what problem do you see. > > > > I mean the tab alignment you use: > > > > .name = "intel-gpio", > > .irq_ack = intel_gpio_irq_ack, > > .irq_mask = intel_gpio_irq_mask, > > .irq_unmask = intel_gpio_irq_unmask, > > .irq_set_type = intel_gpio_irq_type, > > .irq_set_wake = intel_gpio_irq_wake, > > > > All the other struct initializations in the driver use this style (and I > > prefer it too): > > > > .name = "intel-gpio", > > .irq_ack = intel_gpio_irq_ack, > > .irq_mask = intel_gpio_irq_mask, > > .irq_unmask = intel_gpio_irq_unmask, > > .irq_set_type = intel_gpio_irq_type, > > .irq_set_wake = intel_gpio_irq_wake, > > > > Hope this explains. > > Yes, thanks! > > Okay, can you give your conditional Ack if there are no other > comments? I will fix it locally. Sure. There was typo also in the second patch $subject, please fix it too while you apply them. For both, Acked-by: Mika Westerberg