Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp341630iob; Wed, 18 May 2022 03:28:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMwATnKDfER/254WakeXDLYTqf7JYYhyNlZiWe/C26ov4X0Mq15TOeSfIDs47ajFlD32L8 X-Received: by 2002:a17:902:700b:b0:15f:a51a:cdeb with SMTP id y11-20020a170902700b00b0015fa51acdebmr26310237plk.137.1652869693146; Wed, 18 May 2022 03:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652869693; cv=none; d=google.com; s=arc-20160816; b=GM3uXMu9u31z+VT88TmtNlz7tvGQnyhK4QFgdE4txFbM8xa663YtrI5oPpVVpHeFnG bsngTtu2pguz5RcBLV4iFqyNa/6xqmdky9XOR2YcTjHA9jnvCH3fdRAT0xpieOL9T3Yg 79GNvRF08GNIsuinfHn8RHxJ48r5UNLqhaJJx7DX7bv9g2D1QnozmIPie+IapDoS4Gdd TOwb+OnFW71gALhPtLBLBzLM4T6OvehTjMpq0xg0HNWTBhGoA97T1ifiYWGg8JPx5AD5 S1+2T77927dJKATjNXmuRhYRKSV4DC0CyQFalV/dZkcUhsoH4sM4F+E8c2a3gQ+j+ZgJ BRPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rsE4Tl7i5xII0f4A8mtGtiedwAGVAYJZJy1T+vifEko=; b=GzICQS3Zigbfqf34BRw54Vtpc6cKQpzqXY+v45Gz9QbMGTYQABIazNn/XGueEsufGw +Qkiomm1lsE18THZBK2ERbXndlMh33gp1SeDkOStGc0QXHq0Bb4aBhEu5qMl9tYFREgw D+i4y0TTpZb0ggjk3Gz+6yNCu0+CCQrVYwmYx1ht8r997Ksu+a6gdtlPng4X2OY7dmZC EjPuZ8wQABqBadku7RXPeBuSDiPg8NqgOMA3Pk8xc6oXY6OjYU8U0LqSVZkPK4HO491k xQ7sNvmZeyzT5lFCffNJmaJFFX5/xwgX2YVQt23n6SZjyDmYjXXa97MYsxTUAtQBbZDc p//Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MZZDoLig; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g10-20020a63b14a000000b003c1bf04df79si2041943pgp.137.2022.05.18.03.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 03:28:13 -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=@gmail.com header.s=20210112 header.b=MZZDoLig; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B54815350E; Wed, 18 May 2022 03:07:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234926AbiERKGk (ORCPT + 99 others); Wed, 18 May 2022 06:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235066AbiERKGR (ORCPT ); Wed, 18 May 2022 06:06:17 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90BC11269BA; Wed, 18 May 2022 03:06:16 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id c10so2338957edr.2; Wed, 18 May 2022 03:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rsE4Tl7i5xII0f4A8mtGtiedwAGVAYJZJy1T+vifEko=; b=MZZDoLigjDS6l0mjpmpzQGD+t6bm9UdRnzphcWXQxJAjaRlLYbc84tdgsWnmgBF+P/ RzRHzUf1EoUn1sKvfNkh4XyszD7q1+89OU9RtyINg8Eo9O5Ho7FqKbuwlZGp4wTZavKt 6VzmqKjkGSdTc8wJ0lw8dXWtj95ovWy1vmKXslZz1TpLajokhYgHef41cv/3T45CY3uh rDK6VDr38tYAuIzgSoFujF3t53xXh9N5NJ6QqhZtlJ4B21Q+r5lPFQ5Cbooi5e9+yV47 2+EhsHH75dnHL+C0R71JR0lZKcS9epwafwHh7RDlwz+ocR7UO9titjK0+E4XxFOxHjPg ojNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rsE4Tl7i5xII0f4A8mtGtiedwAGVAYJZJy1T+vifEko=; b=MtEFqwadMW5dp1XVdl6NhNS9jS6jNCjd+s1zvteBLyZ3Q+3aCy9zzcrcMNpqKrRpoD jko2ZIbYTI0OXWB+EeXyff5q1PJ2N8WIl/611GUIyX6eFEEIOhiMwzViTXVc8++J/Dbp HsQRVYKWydtkPWzGlQU8Qt2hUbegAi2QW0R6GKIMdhwuzBWN1O/IYPvfbp888J1c+fG3 VZL/db4aR9DvUb7UQgksAdqZzjgjrL9cevUAkO4/9Agw87JMxww3WR1kMMyDZEgxumrQ Ltn91akiCdZAP1LJKjnN1L5MiQH98vzS1jd12EIdurREXc9CsarYtbLN9+h/6hJnD6FQ HhRg== X-Gm-Message-State: AOAM5304JQIHopf7JGdcnvh4zYKw1eCz42uqjVmUAjfBkdulljIwikqP 5X3jmobwsQTMTewxhQHT6lKSrnkKPAFd30tjTSI= X-Received: by 2002:aa7:d911:0:b0:42a:af69:e167 with SMTP id a17-20020aa7d911000000b0042aaf69e167mr16407964edr.54.1652868374909; Wed, 18 May 2022 03:06:14 -0700 (PDT) MIME-Version: 1.0 References: <20220517163820.86768-1-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Andy Shevchenko Date: Wed, 18 May 2022 12:05:38 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] pinctrl: intel: make irq_chip immutable To: Mika Westerberg Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andy Shevchenko , Linus Walleij Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 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. -- With Best Regards, Andy Shevchenko