From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753226AbdLAPvy (ORCPT ); Fri, 1 Dec 2017 10:51:54 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33856 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349AbdLAPvr (ORCPT ); Fri, 1 Dec 2017 10:51:47 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 34E6B60241 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH V4 3/5] device property: Introduce a common API to fetch device match data To: Sakari Ailus Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Mika Westerberg , Dmitry Torokhov , Rob Herring , Kieran Bingham , open list References: <1512096776-22883-1-git-send-email-okaya@codeaurora.org> <1512096776-22883-4-git-send-email-okaya@codeaurora.org> <20171201091325.weepl5rtxg4zqqyd@paasikivi.fi.intel.com> From: Sinan Kaya Message-ID: <472bc344-009c-6163-e71f-d97ba856827d@codeaurora.org> Date: Fri, 1 Dec 2017 10:51:44 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171201091325.weepl5rtxg4zqqyd@paasikivi.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/1/2017 4:13 AM, Sakari Ailus wrote: > Most of the dev->of_node checks have been removed from property.c and > replaced by calls to the firmware specific fwnode operations. What remains > should probably be moved there, too (apart from dev_fwnode). > > How about adding a new op for this one to struct fwnode_operations in > include/linux/fwnode.h? Sure, let me look. I was following the get_dma function. Bad example I guess. -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.