From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 59D3415E5B8; Sat, 8 Mar 2025 05:57:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741413442; cv=none; b=Xym0oEg5ZAF4IKfFqSl/15rIH0+ME6lRavCgPt7UhkSuA35aSGUKoEuZi9qpEp7uw1D/RILMV5Yi8Wctuv0eJhO59KO6V80FrPMmUSQpFW8t0jd3EQgqAaRDGhVNu/bL5+PYj64FfnVgz0War9CkL15HG6/jDtlt+jpvv1u6iFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741413442; c=relaxed/simple; bh=JzmsDg9DtrYfYPjoGVH8JHEuPvWz63npzYi59wS/Dbo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VPv98TnPkVAorrlZITNLDIHrPJJPWDp5yB14BL71+jC1pZ5t5sztdqRzVmP0QeUUdSTadSK46QTaExlkGd2I45bz04aACWCDCMX2gVPhZf4uTAjauvG/G4eE7SwKHWbOc6kMvVj9DpA8296xvcqy0LzAKfVeyjgLwUc8asXWCuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yZXZnV9A; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yZXZnV9A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44473C4CEE0; Sat, 8 Mar 2025 05:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741413441; bh=JzmsDg9DtrYfYPjoGVH8JHEuPvWz63npzYi59wS/Dbo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yZXZnV9AmVNu6/JIAb7/rajXcgFg/OOZi5E/jFwrcbUN3gk6TfQ5whJXfXQDSEmF0 6sLCxGLENX/sRKHsXBt1IHqRqQEezypOjXL7g1V/m8qbcwbz7Bv7G34cpBOLglpaCj b8n7VDOqPs/KqxnDYAz+lripf6iaSPcuLFU8lvEc= Date: Sat, 8 Mar 2025 06:57:18 +0100 From: Greg Kroah-Hartman To: Sebastian Reichel Cc: Mark Brown , Linus Walleij , Hans de Goede , Liam Girdwood , Chen-Yu Tsai , Matti Vaittinen , Pali =?iso-8859-1?Q?Roh=E1r?= , Paul Cercueil , Samuel Holland , David Lechner , Krzysztof Kozlowski , Marek Szyprowski , Sebastian Krzyszkowiak , Purism Kernel Team , Bartosz Golaszewski , Konrad Dybcio , Matthias Brugger , AngeloGioacchino Del Regno , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 3/7] usb: common: usb-conn-gpio: switch psy_cfg from of_node to fwnode Message-ID: <2025030845-pectin-facility-a474@gregkh> References: <20250225-psy-core-convert-to-fwnode-v1-0-d5e4369936bb@collabora.com> <20250225-psy-core-convert-to-fwnode-v1-3-d5e4369936bb@collabora.com> <2025022542-recital-ebony-d9b5@gregkh> 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: On Sat, Mar 08, 2025 at 02:10:29AM +0100, Sebastian Reichel wrote: > Hello Greg, > > On Tue, Feb 25, 2025 at 04:32:50AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Feb 25, 2025 at 12:21:36AM +0100, Sebastian Reichel wrote: > > > In order to remove .of_node from the power_supply_config struct, > > > use .fwnode instead. > > > > > > Signed-off-by: Sebastian Reichel > > > --- > > > drivers/usb/common/usb-conn-gpio.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/usb/common/usb-conn-gpio.c b/drivers/usb/common/usb-conn-gpio.c > > > index aa710b50791b0282be0a6a26cffdd981b794acaa..1e36be2a28fd5ca5e1495b7923e4d3e25d7cedef 100644 > > > --- a/drivers/usb/common/usb-conn-gpio.c > > > +++ b/drivers/usb/common/usb-conn-gpio.c > > > @@ -158,7 +158,7 @@ static int usb_conn_psy_register(struct usb_conn_info *info) > > > struct device *dev = info->dev; > > > struct power_supply_desc *desc = &info->desc; > > > struct power_supply_config cfg = { > > > - .of_node = dev->of_node, > > > + .fwnode = dev_fwnode(dev), > > > }; > > > > > > desc->name = "usb-charger"; > > > > > > -- > > > 2.47.2 > > > > Acked-by: Greg Kroah-Hartman > > Please just merge this patch through the USB tree. > > There are no dependencies and I will send a new version for the > later patches, but they won't make it to 6.15 as I want enough > time in linux-next for them. This patch is rather simple and > getting it merged now means we avoid immutable branches or > merging through the wrong tree in the 6.16 cycle. Attempting to merge a single patch out of a series is hard with our current tools, you know that. Please resend just the single patch if you want that applied. thanks, greg k-h