Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp520246rdb; Fri, 6 Oct 2023 10:03:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgNYOjUN1vtk6j4Idivm47C4UgdDVLqZc47gON7mxUDJYPwYjjUArhgb/znb4aFooLKjQD X-Received: by 2002:a17:90a:6908:b0:270:1614:11c7 with SMTP id r8-20020a17090a690800b00270161411c7mr7251470pjj.2.1696611787509; Fri, 06 Oct 2023 10:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696611787; cv=none; d=google.com; s=arc-20160816; b=ICv3GR6nHg9j6QFe9N0/zaUFCzDJp99uoE2uzGCZLiY40WreaxkOfc2dNJOlOxkpOz o15kbHY9Wz9DvfJZh23YUWXYyeXUyKcifxemnOY6+p6y/VgJyvXBj+LwozwLI8zgZkyQ TYt3p/MooLWYOzzJH0KdTNQ3BwkfrxSEUGWkS75oxBYhMol/VJH12bd1gUE6Igs2OoAb YZXFE1JWQYg//RlQ8zSR/N1UGppw2G3mHS/JFqfcIFWxq7AALmNjNrEFLjac/tcHi00B qe7KL6xsSp3M/OqjqYd+RSQAunpx7W9ofhNy3s5QpNRbxkjRgxsjq5lvD+8L5rwt7EOj 9mHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Q6YO4j2NoQk2EhX4X+Yn+5XRvs0LfpxZQMqtFVulbFo=; fh=vGfxcLjJGcoGpBajIz7C7VrzwKpQN/mMMzlEAjVkMd0=; b=YyTqjcFxGfs9ADbvscJZs6xagjdYiQoVABgBAAHVaf2HGV8P1NEWogMD/8052bZJP+ TMcUr2AWYD9x5KboR6mRAzF0j3eA+8UosrywNHMAETbAk99FfWS4DU5udkQs26nBbRxs 9MQTL1QR8npvkZpi+h2dmwE8T6AqfwXTxyulJwDQV4STm9UtCxnEROFftNxob3H878T4 jPiLMxblKiSHEnCFV96ee+qiFPcJpNfj5PHKXyyLOacs8hutVljf6O8DAqVWczKLLyr8 pNOF1tyS87ZhxEt5yuL2R8BPW1+MHQeMpuWx5V6IqUBAKYOCQ0cKqU0CpIfsK4oc8NaU BSKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVazLVcY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id m9-20020a17090a858900b0026b043c8bbesi4089137pjn.136.2023.10.06.10.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 10:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVazLVcY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7827280972A4; Fri, 6 Oct 2023 10:03:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232926AbjJFRC4 (ORCPT + 99 others); Fri, 6 Oct 2023 13:02:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232198AbjJFRCz (ORCPT ); Fri, 6 Oct 2023 13:02:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B14E3C6 for ; Fri, 6 Oct 2023 10:02:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAF00C433C9; Fri, 6 Oct 2023 17:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696611774; bh=gqKCiivSvc4M2FUEN1bwdMxW4QNOPB1TkbkNtl4IfQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OVazLVcYM1y2XPTQ6AXvfcD5x7FIhrGufpgZ9FD8s+i6qul3WSMl+PCa2WCfiIK+u kKSKo5kkMyGGgjNB37i9s2yuAAHknC7x6mz99qeCP2eGCp9tnZyGzM4PQ1SgAMB9g2 Ajxxf5Lxhk3pum4aqYW1MM8cDK0QZ/S/hllSp/C+QBwN8KEH8c8rdUL6MLGMvX65KG 3aZOJoLhBTBmhQARUWPXrg8AuMLDf2jdjpAoEXDcEx1QM0TSO9MZjvGkEAEZxP2AxK b2211JvUQuUCeQOrSOcn61IubFwatuRcdn6lI35fp2EZs9gp/grHmeUA0mTwIVM44p ag42coMNSsq4Q== Received: (nullmailer pid 4076734 invoked by uid 1000); Fri, 06 Oct 2023 17:02:51 -0000 Date: Fri, 6 Oct 2023 12:02:51 -0500 From: Rob Herring To: Miquel Raynal Cc: Daniel Golle , Luka Perkov , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Thomas Petazzoni , Randy Dunlap , Chen-Yu Tsai , Frank Rowand , devicetree@vger.kernel.org, Srinivas Kandagatla , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Michael Walle , Rob Herring , Robert Marko Subject: Re: [PATCH v12 1/7] of: device: Export of_device_make_bus_id() Message-ID: <169661177118.4076678.10919719119108663799.robh@kernel.org> References: <20231005155907.2701706-1-miquel.raynal@bootlin.com> <20231005155907.2701706-2-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231005155907.2701706-2-miquel.raynal@bootlin.com> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 10:03:04 -0700 (PDT) X-Spam-Level: ** On Thu, 05 Oct 2023 17:59:01 +0200, Miquel Raynal wrote: > This helper is really handy to create unique device names based on their > device tree path, we may need it outside of the OF core (in the NVMEM > subsystem) so let's export it. As this helper has nothing patform > specific, let's move it to of/device.c instead of of/platform.c so we > can add its prototype to of_device.h. > > Signed-off-by: Miquel Raynal > --- > drivers/of/device.c | 41 +++++++++++++++++++++++++++++++++++++++ > drivers/of/platform.c | 40 -------------------------------------- > include/linux/of_device.h | 6 ++++++ > 3 files changed, 47 insertions(+), 40 deletions(-) > Acked-by: Rob Herring