From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 B63AC30BB83; Tue, 21 Oct 2025 14:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761055720; cv=none; b=KXpTgs8ahU5KVP0t8iGRAL+R1QPS4OWtkpbWK2NMnZpUTdUKIP/z4lfVwbBNOjZ5RSNynjKyf6XUM/wOOY6N1FKJoz9holC+1RA9698fRqlXsq9ym8qtn2DQVtc4janVQ/oWa1Nf0sXNqpC/5uGA1xxusABZhvF9DE3IjKLyBYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761055720; c=relaxed/simple; bh=q0UJhFh/ymFNMfB5lO1iqfViSAmwOaowEDmMPzVVZh0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EB66kghhWcB/9p+nU3jdMbxPnQekp8icIsmR0sB3Rl6cZpiNGfYOpB7g4IbYTzChpyaYtlzRrVAS1XGG07loIOyRposX+0XfvYmynAj1k2oufhIh0mo5WkdBCgQNJCpVrySBBHuT4FW+OgosV6Q3v3X48rOkQyPN6K4zxTtm2CQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WU3j6eb+; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WU3j6eb+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761055719; x=1792591719; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=q0UJhFh/ymFNMfB5lO1iqfViSAmwOaowEDmMPzVVZh0=; b=WU3j6eb+m6KsIQhDbJRuFft36e9aIu9q6LQB/8bj7iaN8SWrk+VsNrjz 9bcwu3kBwxb2ma1ijo6cuYqdagczSUFsNXQ4mWHboR0xfkKPu4XIGvUc7 oHsJrwE/wexEgOQ+kylLzubZwFc6MPtkN2W4QoHqwQ0CCYuJHxTOz5zy3 T4460lXT1/4EgLfAGEYMh30VR/dhiHtdZSvJliVhIGxTQcwKf/fkLqdOh 9vVFNTQqHl/e5pEyG627hbbmBYF2Prwo4rYvObkl+c2pIkiZHCtm096Rc 71LptO2UB/aH9mQlSs9ZMivcqxUeeSvMP2ZuT/ctQTkH55QjuTl4vVK7p A==; X-CSE-ConnectionGUID: ZuSWgQGUTV2WH0cXQEQM5A== X-CSE-MsgGUID: CA/4KTfLQqaqnQ73cNKrAA== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="67045289" X-IronPort-AV: E=Sophos;i="6.19,245,1754982000"; d="scan'208";a="67045289" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2025 07:08:38 -0700 X-CSE-ConnectionGUID: lTF4vOHAQc2nPuVSYtPeyw== X-CSE-MsgGUID: xsJaPeS3RZicD7PgMDVkZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,245,1754982000"; d="scan'208";a="183539756" Received: from fpallare-mobl4.ger.corp.intel.com (HELO ashevche-desk.local) ([10.245.245.148]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2025 07:08:27 -0700 Received: from andy by ashevche-desk.local with local (Exim 4.98.2) (envelope-from ) id 1vBD2F-00000001Vzw-0kAj; Tue, 21 Oct 2025 17:08:23 +0300 Date: Tue, 21 Oct 2025 17:08:22 +0300 From: Andy Shevchenko To: Herve Codina Cc: Andrew Lunn , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Turquette , Stephen Boyd , Andi Shyti , Wolfram Sang , Peter Rosin , Arnd Bergmann , Saravana Kannan , Bjorn Helgaas , Charles Keepax , Richard Fitzgerald , David Rhodes , Linus Walleij , Ulf Hansson , Mark Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus , Len Brown , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Geert Uytterhoeven , Wolfram Sang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v4 08/29] driver core: fw_devlink: Introduce fw_devlink_set_device() Message-ID: References: <20251015071420.1173068-1-herve.codina@bootlin.com> <20251015071420.1173068-9-herve.codina@bootlin.com> 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: <20251015071420.1173068-9-herve.codina@bootlin.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Wed, Oct 15, 2025 at 09:13:55AM +0200, Herve Codina wrote: > Setting fwnode->dev is specific to fw_devlink. > > In order to avoid having a direct 'fwnode->dev = dev;' in several > place in the kernel, introduce fw_devlink_set_device() helper to perform > this operation. FWIW, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko