From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F38EEC43217 for ; Wed, 5 Oct 2022 15:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=f7g4ZOXadNwqYXrrIOeFR9UY/hWeBvGAftIQ5+kuV5k=; b=EiqJ1VWmQX4XLX pT9drAO43r+m9CQwtMV2uM44UxXvM0XoXp1NIQ0OMXbKniKa5fmjUZ6760/YiZrtNV+FEaZa5Rc6v NhqPor02K//yrA7rv1h5mpaTe84uttiR83OikeW3WHhpxd8BleuF0G6vrTj6FbnFDfbWWdrNWGYM5 u41KuwHCz/VyqHBV4tqCsn5C6/FXwQMR/iw/F03Y+GM2E+wYPA9R736V1QYtg57ZUFfWhUHxINllc iEZ4P0pfHV2PCADqmJ6fUjCYiJcwML7Qa+QZKh6O8Yta/zdCXZdE39VAbZxu8mUaED9yCqJeAZgtG spgcja5Yin2G1co2I1gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1og6L4-00ErhD-1V; Wed, 05 Oct 2022 15:29:38 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1og6L0-00Ergp-S8 for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2022 15:29:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664983774; x=1696519774; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DzvXpY92dl8nC6GNWGmVSLtEet2B9qn61IBFwM95YnI=; b=Bc0tDCHkX4WqOy6/7osMNdp1Q6ITnuJjzZfLlTdB5IJ6mt5zJiMDNpfY 4eEb1ZlUFf9vTBxFgqQfAtNmwEI90FpPAWaCKR5oC8tcdIaHMTG6NT8vj A3qIM8cmN5g0a67sHCUq3fZsuLOoeN/x1xNwI6uih4ReSJlQFfs3r2rI2 yWqH5mGobroTSLL1ukBVBy9UZqQj75iPIg0/91Js8vuuzrP5XSK4NO/3e +EimQmNvUKrYi0tVrLrETsh92rJujEA8Xas840Mpnx7u27WLOovOKz+u3 l3NX2Jcn3qLYqQZAGD0A3QN7FrH3QivOV8F90PTmbUNtd9iQ6VDIsmnmT g==; X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="286400073" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="286400073" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2022 08:29:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="686993833" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="686993833" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 05 Oct 2022 08:29:31 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 05724155; Wed, 5 Oct 2022 18:29:50 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Qiang Zhao , Li Yang , Daniel Scally , Heikki Krogerus , Sakari Ailus Subject: [PATCH v2 0/2] gpiolib: more cleanups to get rid of of_node Date: Wed, 5 Oct 2022 18:29:45 +0300 Message-Id: <20221005152947.71696-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_082935_357973_A40A2B3A X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org One more user outside of GPIO library and pin control folders needs to be updated to use fwnode instead of of_node. To make this easier introduce a helper in property.h and convert the user. Note, the helper will be useful not only for the current users, but any future ones that want to replace of_device_is_compatible() with analogous fwnode API. Changelog v2: - placed new helper correctly in the property.h Andy Shevchenko (2): device property: Introduce fwnode_device_is_compatible() helper soc: fsl: qe: Switch to use fwnode instead of of_node drivers/soc/fsl/qe/gpio.c | 4 +++- include/linux/property.h | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel