Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp130125iob; Tue, 17 May 2022 21:14:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaRencTUZd/r259dGpu5nQY4KPP9h0n1Fy0CWUNsRXFnRydssZl3Z++azeXmQvNOdWFXDJ X-Received: by 2002:a17:90b:1249:b0:1df:257a:539a with SMTP id gx9-20020a17090b124900b001df257a539amr19638906pjb.47.1652847275123; Tue, 17 May 2022 21:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652847275; cv=none; d=google.com; s=arc-20160816; b=zjgqtTEKXUEscaJtfqWaILBYB/6xViafGLAJkwLVRjgjRfcqCFwTWdZ01nb2fDlYDa NFpJu8D8S6JwYualgHqDjTj/q+I/e8F10aJm7tu9fWcU37pfOxFjEjTtxDVjBYao79wH BRxzC57YBXPHPIlNRhZy5ZGsck4EupV2NL1BYBzUETPqcHx8lna8RdFz0vlEz2qmryLL CNnOvq5z0yP4Fb5wzNv7p017wMZNyhlD5ZfnUvqPONeXFE7T9EWCXuB1kqDeEkNDQEy9 /gWD1GzVtfCy+nGIfMAQTzDXTHIlYYdTsJIzPSbr5M1ts51XnN1QZVKHKdJ7ogr8BJ8S lW9w== 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=1DScyoxD1AxweEllW5fi9Dqd2G3pyDLA87FAAMp48z0=; b=DG0v+xx1Hs7YyU7WE45G4q+O/XgE/Ke/9uHc1SvrwtrycLdmiKaFfMvTaWcOxYW3/5 0z0mZxHJRI3o4XVRBAVKlZFmB8KuIs7qN/K/EJ+UC2RCSP077+RK17E0PaBXleqBBYiD prf0oGYFSAJNzmPa2u9SaenK7ycfmKRHsh1fcGEiIL8Z5ybKilNDd7C/W989fa0B98hV jeqMnHK7nGZOVx+R8wEgVXCHxLHEfRaU4KSF7ZM3afB8OtBXBAbyrgLJyNN7P8BMKPUy OfSG/KL350Sr99S52d/PGaZSP7oYVbbLIW8irD/rPmuXEY8+q/T5ljOjZbyDkECGo3R4 2oPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ja58K5Od; 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 b24-20020a170902b61800b00154304022c6si1183985pls.564.2022.05.17.21.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:14:35 -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=ja58K5Od; 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 C10426CF48; Tue, 17 May 2022 20:44:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343902AbiEQKL5 (ORCPT + 99 others); Tue, 17 May 2022 06:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344059AbiEQKLL (ORCPT ); Tue, 17 May 2022 06:11:11 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9F244C41B; Tue, 17 May 2022 03:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652782199; x=1684318199; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=o0rfa2LgldSLeyeg6O3xFJ5xH9GUQLhGfm/buC6Zf/Q=; b=ja58K5Odw1f9B6WjkZSQJ+2Sd7NgfggZ8M6PwrS6Rt5QWUHjTXN7A4EX Se7UhVOh9NvaAOB/NOrVAF2VZ8ubbI6St9i95ZJJAThLN7GHaaIcDpCU+ SxWdsJMMLnlP7vSQKt8RjMIN6GTceQNWuODVf03tl0WoK1ju6yTTg2ctR kX6tZe+l2DgClv9e2UoOmprNHlQ8USAmihnX30IlAbZasBJO3W0c4F2cI 3NyPzN8mvQ+F5R9kWmo38u5UYc8d+MI3xmvgwKrefwugpWZrBUzvKIQcz sftnLa2iKjHmh7TuAc7pW2JnO0el0XMfpUCyZ+0tfQY1MxNudxfEsxits g==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="357544196" X-IronPort-AV: E=Sophos;i="5.91,232,1647327600"; d="scan'208";a="357544196" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 03:09:58 -0700 X-IronPort-AV: E=Sophos;i="5.91,232,1647327600"; d="scan'208";a="816831982" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 03:09:55 -0700 Received: by lahna (sSMTP sendmail emulation); Tue, 17 May 2022 13:09:53 +0300 Date: Tue, 17 May 2022 13:09:53 +0300 From: Mika Westerberg To: Andy Shevchenko Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Linus Walleij Subject: Re: [PATCH v1 1/2] pinctrl: intel: make irq_chip immutable Message-ID: References: <20220516185618.32448-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220516185618.32448-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 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 Mon, May 16, 2022 at 09:56:17PM +0300, Andy Shevchenko wrote: > Since recently, the kernel is nagging about mutable irq_chips: > > "not an immutable chip, please consider fixing it!" > > Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new > helper functions and call the appropriate gpiolib functions. > > While at it, align IRQ chip callback names with member names for > the sake of consistency. Or for the sake of inconsistency? ;-) All the other structs are not using this kind of alignment and I would like to keep this one matching the rest too. Also I prefer the format currently used in the driver.