Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp504442rdb; Fri, 6 Oct 2023 09:34:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+K7sv7woFEAxTK5dZUak17J1/o3O8PNSK6lWtJzGzDBv8k24Oz4i6rV/QKo+otkZKDm0A X-Received: by 2002:a05:6a20:dda6:b0:135:1af6:9a01 with SMTP id kw38-20020a056a20dda600b001351af69a01mr7108570pzb.8.1696610050851; Fri, 06 Oct 2023 09:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696610050; cv=none; d=google.com; s=arc-20160816; b=At3aCcxl7Iec9G85DJ8L3PZKiuJ/r2dstGMdlC0RDeyDPFSMmJ8k24Z4sNU9vUzJK1 zeIye27IQEWaMjh74EutimEr8TQcQmaX9HBIOH5kGUrfISqVsQhQQhHA1KqTc8a0O+GV 6YopaO1bgBKlShm42lT4AhOb5jrwpkQFtkJ+kBfV0zzF2VGIzQrItzXgPS3yS94tVmVc KGECU0O8k5pXPol3nLZkdjhV6RcC4dJml/fmVUMvmcZL3Yzx7KnBlifalawAiLsu1ErZ YYm6IfQhzSkpe58ohu8v6BBV8G+uEaFB7xB9fGusdaGUE849YDAzJrPMV/uA5Wn+fbHc jRVg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=VfJelQFnwa56H+6/+mIriGMXn/wXqjlj1wHqN5EwtYU=; fh=e+QVSRLHJFZOJden4SsPYiQ/aNDYGD0MdcUxARBoEIg=; b=iDOFuk/KZ51RRJVJeu/CwV0ziCqbqfnHt3uU+lSJfbiqH7oHBH9T02FvEEssGAXRfu oJmWFLyiIUU+yxY31ZE2N/mfw/kWq9p7HFVnFJQgyx2LCHPgla7TGuPrCQ8ctiMkx7Le 2BBcWLsyQBYTGwvd16lKMkVSzLpGzPGBT0hDMnL9EjwxD8cyZKwDHZbSRfjd0yZMdANl zXekZZyFhk+zLHBC7XbfwTCF4OvoCBNDq4g8MOoMfdi6izGCODJPIxIiWKrEaBiTyH9d b79X4A0KFIExUNs4rdC2Kp+Tzg6KzhIvvOczZ4/BlewP1lrM7lAkqBQU7C4ZM6ntlgHy 9XuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=oNoPy6Su; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00563d74b6347si1090408pgv.863.2023.10.06.09.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 09:34:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=oNoPy6Su; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 26BDF810CA90; Fri, 6 Oct 2023 09:34:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232844AbjJFQdq (ORCPT + 99 others); Fri, 6 Oct 2023 12:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232839AbjJFQdp (ORCPT ); Fri, 6 Oct 2023 12:33:45 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C836B9; Fri, 6 Oct 2023 09:33:42 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 990EA1BF211; Fri, 6 Oct 2023 16:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696610021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VfJelQFnwa56H+6/+mIriGMXn/wXqjlj1wHqN5EwtYU=; b=oNoPy6Su0Z99klFNRhnrdmcy+/ovW4/lKX5Ttfg/6r7vWQVI3N9XGd3eOFRBm1j6qE6tJX wPzf/alCUJ3/G73gzZ0yLfLyLYkbM7H3Yf2tf7A0mHbGYvKG/gzicm01RcvOSJv7tDweG+ oTL9jBshyfxRSJkF1UvOrtQJusw/wQvPQkmr0PXA6c9Baq95MJCdsW0j9ZBtVtQ/z2wUaY gkhXxg2SUWYZJD8FKGWd0/6Z3SVbMI4ecwD7Z7NTFGv1Ck+zqY1TDFyr0W226UlVny+7Ay z5hHIyp/6WVfNrEyuGIDQR9XVVIHsn3lTmgk5XIpWR0yULBxzwtAhkBR1mInbA== Date: Fri, 6 Oct 2023 18:33:37 +0200 From: Miquel Raynal To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Srinivas Kandagatla , Greg Kroah-Hartman , Michael Walle , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Marko , Thomas Petazzoni , Luka Perkov , Randy Dunlap , Chen-Yu Tsai , Daniel Golle Subject: Re: [PATCH v12 5/7] nvmem: core: Rework layouts to become regular devices Message-ID: <20231006183337.18c285e2@xps-13> In-Reply-To: References: <20231005155907.2701706-1-miquel.raynal@bootlin.com> <20231005155907.2701706-6-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 06 Oct 2023 09:34:08 -0700 (PDT) X-Spam-Level: ** Hi Rafa=C5=82, rafal@milecki.pl wrote on Fri, 06 Oct 2023 13:49:49 +0200: > On 2023-10-05 17:59, Miquel Raynal wrote: > > +static struct bus_type nvmem_layout_bus_type =3D { > > + .name =3D "nvmem-layouts", > > + .match =3D nvmem_layout_bus_match, > > +}; > > + > > +static struct device nvmem_layout_bus =3D { > > + .init_name =3D "nvmem-layouts", > > +}; =20 >=20 > Nitpicking: would it be more consistent and still make sense to use > singular form "nvmem-layout"? >=20 > By looking at my /sys/bus/ I can see there: > 1. cpu (not cpus) > 2. gpio (not gpios) > 3. node (not nodes) > 4. nvmem (not nvmems) > etc. >=20 Probably, yes. I will wait for more feedback on this series but I'm fine with the renaming you proposed, makes sense. Thanks, Miqu=C3=A8l