Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp326002rdb; Fri, 6 Oct 2023 05:00:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF58bvUujaclu9deGRIVEehqBmR5BnWqCVlHhTsSPAn3jTi+3rQdumyvh3riGZxYyKSzlqu X-Received: by 2002:a05:6a00:1410:b0:68b:eb3d:8030 with SMTP id l16-20020a056a00141000b0068beb3d8030mr8134797pfu.1.1696593602949; Fri, 06 Oct 2023 05:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696593602; cv=none; d=google.com; s=arc-20160816; b=D0FqIZwabpij1RaJSRTqFn7h8qxUv1gm+btpLh93E6kIu9VtvPcESpHEjIKOK0GSON oWrfMXvBVoa63aU4Yy9pl+9ZbkWa+IYi95TpMqab58K5vrRHxUn2k+IuXb/s0s73s31V GlXzKZxrKMOJ0a7MEmaYq5gNERcmPBmr8Sx1t6ZumYSVudcwsBPSUH1JhJbgGWzT9/Nh Tvoaw2Lgc7ZagCCKXJcPfDaYLHYrH79abr/Snrx2IoMx1tJ+Bkc2qdGJgPU8u2Gg7Sdj DVNpoyJZG/TZZvTXQIPPQlAOFGFZVPdn+BYtLXUTX7lmsiSmeqNILv6JvdtMPVdPFjTI QaCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=+fpKMZiRFPjJjV4rsSd8iJNONZZ0c5hZS0kgYAHKHoo=; fh=XLEdng55uEX8WXP17XyDtpFUsiJQ1vCFJ8oTq/S3wF4=; b=b0C3bv+POrNwoqoLYAB3Ey82hklD/hoQIrA645XA3Hx2I3PBP4H7QwXM6A20N27Eqh 84/0UCKLfk4u5WdVTTJC+rxPSEzAqcaxeq9ApK+9BkLfJTiZBQEOQQ6fbX0xhh534FeL esdVdMsM4lJUrWmAii3cp6kiJ90iB9+7J/JFmcJTN0mwbfqzMnJE1xwtPUkYSQZf+CgV vs+FgEUemfvflcQL048JXyHFRaaCmnOxYnUDBr9QxNR6vBpxHtKvtvV+5OmDCp9cKWuE RivLX4p9aMsX0OZI9BZ/Dyfk7svdD/JZajxfe9lvpgK+W1oUR5pz1HTMHkR7QJjvfqbd YV4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id v3-20020a056a00148300b0069347c30c78si1385616pfu.230.2023.10.06.05.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 05:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9930A8029899; Fri, 6 Oct 2023 05:00:00 -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 S232158AbjJFL7w (ORCPT + 99 others); Fri, 6 Oct 2023 07:59:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjJFL7u (ORCPT ); Fri, 6 Oct 2023 07:59:50 -0400 X-Greylist: delayed 595 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Oct 2023 04:59:48 PDT Received: from 10.mo581.mail-out.ovh.net (10.mo581.mail-out.ovh.net [178.33.250.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2F50CE for ; Fri, 6 Oct 2023 04:59:48 -0700 (PDT) Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.16.32]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 26FF626922 for ; Fri, 6 Oct 2023 11:49:52 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8w4bk (unknown [10.110.115.151]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id CF0061FEB2; Fri, 6 Oct 2023 11:49:49 +0000 (UTC) Received: from RCM-web7.webmail.mail.ovh.net ([151.80.29.19]) by ghost-submission-6684bf9d7b-8w4bk with ESMTPSA id ToM7MF30H2X07Q0AgIPZcA (envelope-from ); Fri, 06 Oct 2023 11:49:49 +0000 MIME-Version: 1.0 Date: Fri, 06 Oct 2023 13:49:49 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Miquel Raynal 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 In-Reply-To: <20231005155907.2701706-6-miquel.raynal@bootlin.com> References: <20231005155907.2701706-1-miquel.raynal@bootlin.com> <20231005155907.2701706-6-miquel.raynal@bootlin.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: rafal@milecki.pl X-Originating-IP: 31.11.218.106 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17609074545689144221 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrgeeigdegfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepjedvlefguedthfefleehgeeftdeludeluedvgfeffeevhfevtdehteejteefheegnecukfhppeduvdejrddtrddtrddupdefuddruddurddvudekrddutdeipdduhedurdektddrvdelrdduleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehrrghfrghlsehmihhlvggtkhhirdhplheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth X-Spam-Status: No, score=2.8 required=5.0 tests=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 05:00:00 -0700 (PDT) X-Spam-Level: ** On 2023-10-05 17:59, Miquel Raynal wrote: > +static struct bus_type nvmem_layout_bus_type = { > + .name = "nvmem-layouts", > + .match = nvmem_layout_bus_match, > +}; > + > +static struct device nvmem_layout_bus = { > + .init_name = "nvmem-layouts", > +}; Nitpicking: would it be more consistent and still make sense to use singular form "nvmem-layout"? 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. -- Rafał Miłecki