Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2492823pxb; Mon, 18 Jan 2021 21:05:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJywfTqJ9JXdl2lXo/YvPyghmr/VXIQnpJvTZbLwBJkK7J1IrHVi2IGs3jU20N0nTVsgFSri X-Received: by 2002:a05:6402:206c:: with SMTP id bd12mr2065942edb.10.1611032736602; Mon, 18 Jan 2021 21:05:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611032736; cv=none; d=google.com; s=arc-20160816; b=HS/T7QePXZs2ju54bMfCFFAisriGHocO8hqtUwT4EyICkKTCHIXvvMiOorBKPUDLgi 7ojPmAS2AqQFLk70xDYIllNNx1sKYN4g+AxM/SypZP2hNElA1F5xC6GATba2D9tJkzA9 cq5Ml4x1nrKyHD4fNMf9oe4/VAJwH01xSQNutMGb6iKbS5A2m/zLz836MrHFEoWhScMi cBJuX0qHfAT7dBt+uNlLYqftVhI13GilC1W1sb7gGqae1rotzVt/xh7SgUdijrZKiPGW MeUR3O1ww7uY67uxesspoh3Khi1ndriWGUjzVCGmkbLGpjAZL04X7/9RaGTLa4oL394+ v1cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=m9K0GGjxyiGg4EfGBy8RrX+nuLl3RdJgWEWTF9bIN9Q=; b=jU/UF9r/Cx6nrnK4H5cv0+7Xxr4l9v2bjlJHDWTDmWvftidJVbhWXNkvSRGSnav4JR faYDdGI2dUEBdAyjrsjTbJUc9DSCUL2yHBcusVbQwnPaXEHuWY98RKWBBKx3eGxbs4UG +MxWpCaTMbCW6mQx125WiFuSKWNMlxALMALjUi1X/p9WYC2xef42XXe71bl3E0+6nTcM 6KKggJ5w41tLkidmFMmqtdtEQbvtEZ+HffjYdHhQaY25+1Dq6LwPyzccLhkjwWsryBU9 PGHZLIsKMl7+mWXrkN0rQ7cA3yDvCCzGBLEv6yedf+RO6f34+1P2ZoJ1Qh+cWnZg8vJy F9Pg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si8198900edt.499.2021.01.18.21.05.13; Mon, 18 Jan 2021 21:05:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407737AbhARSrh (ORCPT + 99 others); Mon, 18 Jan 2021 13:47:37 -0500 Received: from smtprelay0154.hostedemail.com ([216.40.44.154]:36940 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2393731AbhARSoL (ORCPT ); Mon, 18 Jan 2021 13:44:11 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 746F61801AC86; Mon, 18 Jan 2021 18:43:19 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:982:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2736:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3871:3872:3873:3874:4250:4321:5007:6742:6743:7652:7903:8784:10004:10400:10946:11232:11658:11914:12294:12297:12740:12895:13069:13160:13229:13311:13357:13439:13894:14659:14777:21080:21627:21990:30029:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: team75_1e0c60f2754b X-Filterd-Recvd-Size: 2364 Received: from [192.168.1.159] (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Mon, 18 Jan 2021 18:43:16 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 4/7] i2c: i2c-core-acpi: Add i2c_acpi_dev_name() From: Joe Perches To: Andy Shevchenko , Daniel Scally Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, platform-driver-x86@vger.kernel.org, devel@acpica.org, rjw@rjwysocki.net, lenb@kernel.org, andy@kernel.org, mika.westerberg@linux.intel.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, wsa@kernel.org, lee.jones@linaro.org, hdegoede@redhat.com, mgross@linux.intel.com, robert.moore@intel.com, erik.kaneda@intel.com, sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com Date: Mon, 18 Jan 2021 10:43:14 -0800 In-Reply-To: <20210118133942.GI4077@smile.fi.intel.com> References: <20210118003428.568892-1-djrscally@gmail.com> <20210118003428.568892-5-djrscally@gmail.com> <20210118133942.GI4077@smile.fi.intel.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-01-18 at 15:39 +0200, Andy Shevchenko wrote: > On Mon, Jan 18, 2021 at 12:34:25AM +0000, Daniel Scally wrote: > > We want to refer to an i2c device by name before it has been > > I?C Andy, are you next going to suggest renaming all the files with i2c? $ git ls-files | grep i2c | wc -l 953 Please do not use the pedantic I?C, 7 bit ascii is just fine here. My keyboard does not have a superscripted 2 key, and yes, I know how to use it with multiple keypresses but it's irrelevant. > > created by the kernel; add a function that constructs the name > > from the acpi device instead. > > acpi -> ACPI Same deal with acpi filenames. Everyone already recognizes acpi is actually ACPI and there isn't any confusion in anyone's mind. $ git ls-files | grep acpi | wc -l 533 > Prefix: "i2c: core: " Please stop being a pedant on these trivial things. It's unimportant and has almost no value.