Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp770069rdb; Fri, 22 Dec 2023 04:47:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBZKGDDJKBsWrTDzQuNz1FRwQKDymXDWNAnieYBuABuvEpRTYDx3e/sGxfCBYYzppDYqGj X-Received: by 2002:a05:6214:509e:b0:67f:41a0:b843 with SMTP id kk30-20020a056214509e00b0067f41a0b843mr1365197qvb.97.1703249222121; Fri, 22 Dec 2023 04:47:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703249222; cv=none; d=google.com; s=arc-20160816; b=X6KMPoTc6UYo+Goq8TDNuA1hi3q08DwYcr2WVZs15jlaQ7mb+phVifBOl6koR6c6Sn cT9c3207NmBZmLp77pppZxdzAF1dY/Is8zTlck9ql9h0tsO+wtTYwxTHB7Pxt9Plmn/i xOB7W9XfqU9fXCsa4ccpvr1A1TihO2LHNdWFNWwuh6fSg4n7O0jByBssDynSaYdTtpfL OcRGBRA0Ddz7Kn/B3Mvg6VqG1Wn/kL5JjNrBySBqVNpFzgqGQPRU9omvVtr+SkLi+E4r 8WU8kvjLt1s749llcC73a9FR9wwHyGYp7NU1TYmagcYFBIv7+Ips0YDGLGkYOml+ayzh QQfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=1Suwx2NPzpTeX4Y+7f0W9gegJx5TU3sq7sURSplJdhs=; fh=RhAgXUbaCf9f/PjjjomhMx3/DwTF3VDh88e7OZLMX8I=; b=syMxBVqCHqiEz6P8zzDQdB5tqeBvsj9LKCHgeqY6OuN1M5YfmB3SiCBOg775C9MKJK 65zR4CU41TDZn6CgErb/ExFszB9+BlSpDcIvd2py/nIQNpfxakzem8dBkd1obhK98uRz VU38fKNMlwYKCtAkNUBzZLzQp5ONyK9IEOKlmfC3pE+axdWru+3j+of+hWMPIkjErJNY 8RbyJ1950moNrYK8jeRaUrh0/I2VZ6E1nyZw+4D5IaPIpjR/dRAw0h0prpP0WvoKz3H1 cE+07rYSYcX8whWNscMM326uwQFokegbgFqFY9FDAeIX9gAQaCxHsGkCbDI+dSLunjgb 5l5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TIfgSUDs; spf=pass (google.com: domain of linux-kernel+bounces-9719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f3-20020a0ccc83000000b0067a9cfb87bcsi4313530qvl.331.2023.12.22.04.47.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 04:47:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TIfgSUDs; spf=pass (google.com: domain of linux-kernel+bounces-9719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C89511C2104D for ; Fri, 22 Dec 2023 12:47:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CF9C18636; Fri, 22 Dec 2023 12:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TIfgSUDs" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (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 197001803A; Fri, 22 Dec 2023 12:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703249210; x=1734785210; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CHn976YL5HBziRVUDO+1XcDkDlkynI0AtiosgSm9of8=; b=TIfgSUDsNZmBGorfcsxahOdjUWyFnnY9gyDbk8Nh/9HfyB6q687KlsPV hcySZFxN1nHm4/VsQpV8naWLsATrC0P4qB94am925ox+H7uFNjPyq3ui3 l1vW/UmDQe/MccXNSEaMbARjEZAUb1Viype3/HNuZyUK2ckLHA5Pz1BVZ 7MAntAZEahopxHfL529iWdyfp/xG4W4+DVtOb7lO3GGixT8OMD/uvNGcp Y2t5dV7oexdmJ0LN4C9P5Ym3B5Xr/0PiC+nxjrDlgbbXKN2dmDg/4N8nw bSnazQczgaZ70DvD1ZgT5mdYRm5jfK6StIpQv9TiKb/xzoldPjiRCBeeX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="460444172" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="460444172" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 04:46:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="780541262" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="780541262" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 04:46:45 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rGevK-00000008969-0kvJ; Fri, 22 Dec 2023 14:46:42 +0200 Date: Fri, 22 Dec 2023 14:46:41 +0200 From: Andy Shevchenko To: Mark Hasemeyer Cc: Raul Rangel , LKML , AngeloGioacchino Del Regno , Krzysztof Kozlowski , Tzung-Bi Shih , Konrad Dybcio , Rob Herring , Sudeep Holla , Daniel Scally , Frank Rowand , Greg Kroah-Hartman , Heikki Krogerus , Len Brown , "Rafael J. Wysocki" , Rob Herring , Sakari Ailus , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v2 20/22] device property: Modify fwnode irq_get() to use resource Message-ID: References: <20231220235459.2965548-1-markhas@chromium.org> <20231220165423.v2.20.I38ac58ab04985a404ed6551eb5813fa7841ef410@changeid> 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 Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Dec 21, 2023 at 04:59:42PM -0700, Mark Hasemeyer wrote: > >> > > -int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index) > >> > > +int fwnode_irq_get_resource(const struct fwnode_handle *fwnode, > >> > > + unsigned int index, struct resource *r) > >> > > >> > It's perfectly fine to replace ) by , on the previous line, no need > >> > to make it shorter. > >> > >> That puts the line at 115 chars? checkpatch.pl allows a maximum line > >> length of 100. I can bump the 'index' argument up a line and keep it > >> to a length of 95? > > > > clang-format should do the right thing. > > It formats the line as-is in the patch: with 'unsigned int index' on > the next line. Exactly, and I don't think we need that "smartness" in this case. -- With Best Regards, Andy Shevchenko