Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp347422pxb; Wed, 18 Aug 2021 04:00:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweA0eiCJ+fv77LgSUy+Cw6FUjTmGtY3ufDGVk8gFwvDlOy9M43tMqpq86S/74yQ1IApMDS X-Received: by 2002:a02:9f17:: with SMTP id z23mr7568242jal.86.1629284404325; Wed, 18 Aug 2021 04:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629284404; cv=none; d=google.com; s=arc-20160816; b=AFgf6A+GvVT0QjnnnqE1MIDXg7HULinU2jmyqHD1zsp97Ck6VdP25kVswYrmeD3Bqe MULhEA+M7Wlf+3fJswGdyi2CDtG7nYpa0pGOqXtsIEVgLlbzzkGQkG/iU2Hu7zO/PyXW HEuplTmrFc3/j1Y38oRNm4O8LiQ5aB4VqxqkGqZmoMBAs69ss7RoN3Hpbq9KJN7CYgPK vAFuYW47T9ip4FawrNYBdhn4DDVPWcS9kzwKbhWoHwIsVcLzZdERf3+pK4D1xqZsxwxI Gucq+As9jw8niV+uEdzdECkd7ccIXnURNdfGeRsl1YTk3SqpS1KiD3g1ckpeRrNmvGp7 0IJg== 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=ltR5JQZW+Ejduh72SVqHpCLEa19Us6ELdjZmQsBOhi8=; b=FBoMWoezp6mMPeboyZb2UXZoW6sYWMmnqRohKI2S5C/mRfhj+ukJYASRp5CRC9ZQ2m fYOhY1cOebvODjoIrDNFvM2XEf/Tsy5Q6vHMihA9wqbj4PAk869QZVlvJ6GgJbjdtubT N3na6S5lbtp734XjOOlg+I+gcLsVdugDoX7HZgRC5PaF3DGtqukovDV1VTVfDbmcKl7d vmTQERHQJxslPlYJoCyP31OxBmdLpvke3WsMrmGmcOTL85S6gBDUfpwZP2EJl7kc2JCo I6RTa+fGG1PBl0+jivhgrXwkeTbqvOEiTg0C8eygGnzJCU6ZSeaYi5zAn4ltNuOslPa9 xAWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ly3thsFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o66si5768099iof.56.2021.08.18.03.59.53; Wed, 18 Aug 2021 04:00:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ly3thsFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234485AbhHRK62 (ORCPT + 99 others); Wed, 18 Aug 2021 06:58:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:50976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235120AbhHRK6E (ORCPT ); Wed, 18 Aug 2021 06:58:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1631761029; Wed, 18 Aug 2021 10:57:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1629284250; bh=IP9QZ9R4vDScwCucpKYL7KBQIzj0wzHNmIYig9vv5+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ly3thsFBZKmxkkxQ1Zq6Zom/3c1Ek9+Mh6NMdv1sbehEQl6YCv2n8ipVFHuQwWXkt oLrrWjt5QIBqfMNdbzMzL35Sn6cIomKi4lTnm7ygctQSRoUiRDntlwGueT5k/Kk16t wBuZQrKfOANAR/lZxIha8pEiztnroRetNzjWEfdc= Date: Wed, 18 Aug 2021 12:57:28 +0200 From: Greg Kroah-Hartman To: Thierry Reding Cc: Heikki Krogerus , Andy Shevchenko , Jonathan Hunter , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND 1/2] ARM: tegra: paz00: Handle device properties with software node API Message-ID: References: <20210817102449.39994-1-heikki.krogerus@linux.intel.com> <20210817102449.39994-2-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 17, 2021 at 04:30:44PM +0200, Thierry Reding wrote: > On Tue, Aug 17, 2021 at 01:24:48PM +0300, Heikki Krogerus wrote: > > The old device property API is going to be removed. > > Replacing the device_add_properties() call with the software > > node API equivalent, device_create_managed_software_node(). > > > > Reviewed-by: Andy Shevchenko > > Signed-off-by: Heikki Krogerus > > --- > > arch/arm/mach-tegra/board-paz00.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c > > index b5c990a7a5af5..18d37f90cdfe3 100644 > > --- a/arch/arm/mach-tegra/board-paz00.c > > +++ b/arch/arm/mach-tegra/board-paz00.c > > @@ -36,7 +36,7 @@ static struct gpiod_lookup_table wifi_gpio_lookup = { > > > > void __init tegra_paz00_wifikill_init(void) > > { > > - platform_device_add_properties(&wifi_rfkill_device, wifi_rfkill_prop); > > + device_create_managed_software_node(&wifi_rfkill_device.dev, wifi_rfkill_prop, NULL); > > gpiod_add_lookup_table(&wifi_gpio_lookup); > > platform_device_register(&wifi_rfkill_device); > > } > > Seems alright. Looks to be doing mostly the same thing as the original > platform_device_add_properties() was doing, except for the node now > being managed, which is irrelevant in this context. > > I'm fine with Greg picking this up. I'm not aware of any other changes > to this file that might cause a conflict for v5.15. > > Acked-by: Thierry Reding I'll pick it up, thanks! greg k-h