Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1082118pxb; Tue, 17 Aug 2021 03:26:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCyCL2GQLHAV+l3Ilv3UWqIFSicwDmIoYPCu1YhGaWaud5jRl12lLqq8N3dYWs3DBdw9XN X-Received: by 2002:a92:3207:: with SMTP id z7mr1849703ile.260.1629196007972; Tue, 17 Aug 2021 03:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629196007; cv=none; d=google.com; s=arc-20160816; b=NhjjXMX5mLGUe0d/M7RjkMg3YSfZYztXud+B6cv5+003F66YQ0OFbUyVWsGMHYe/qD njI3si6X3xC9kfrOzo7uIvwmti3zgB1omvLDydu0Q6BwGjKVCZ7nbHepQRkOfYoWxEcq 1MF55KS7UrpUME0zIqZwAgg26Wx380xmXCUhPYClUjlPYKXKn+bhT/niES07Lp/7bYhZ FGnoGw7xG73MZyBC9+V7so0aBwp8cOLivfEjpbpFnpaDqUKU/QkT9SkZ2Hqw/xNp+dMt Pj6/E18kkwKvaxPDCUdqVOFPxrdJXEK1zEFJK2fYYmljiX3HZpUSLgsg4CpVxiYuCZGN b/VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7qd6ZJK0SqbXI9xHJoPaWtFnYOvoVq2lO6EoiU2r6No=; b=WnQctsJDdKVpVV3jPBIRmK16HvMVCpulfPPE7ajS7hUKY50At6rGAMp2cVOhasZYnZ 6htYrUu2xw5aJhRN2ixevp/dSfJ0GmpXG4/mv+2o/bm3e6ApZVoNa+yS7+tNMlBwCJJx vSCdqugRpjspAljxLux1owhUetw87KKjiAw1Bz1OpTmUnJ+IQoB6EERNGZmdd2j8XoUx RDC8zU5KpDacuJ928EMX5fM2cU+2R3Q3jhoBIDP5Txc6Wsr7NOWn8KOZMG+03eQpY/1d FStxzKIlTU6qUBY6zm9bf1Y0KNDHmea4pl1/MM7JLfPIdmbEpYVNhEeBGQq6QfLs0ZyK RHIQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si1916171ile.120.2021.08.17.03.26.36; Tue, 17 Aug 2021 03:26:47 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239575AbhHQKZ2 (ORCPT + 99 others); Tue, 17 Aug 2021 06:25:28 -0400 Received: from mga12.intel.com ([192.55.52.136]:56026 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236220AbhHQKZZ (ORCPT ); Tue, 17 Aug 2021 06:25:25 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10078"; a="195621137" X-IronPort-AV: E=Sophos;i="5.84,328,1620716400"; d="scan'208";a="195621137" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 03:24:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,328,1620716400"; d="scan'208";a="593304565" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 17 Aug 2021 03:24:50 -0700 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: Andy Shevchenko , Thierry Reding , Jonathan Hunter , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Subject: [PATCH RESEND 1/2] ARM: tegra: paz00: Handle device properties with software node API Date: Tue, 17 Aug 2021 13:24:48 +0300 Message-Id: <20210817102449.39994-2-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210817102449.39994-1-heikki.krogerus@linux.intel.com> References: <20210817102449.39994-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); } -- 2.30.2