From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753044AbbCWURC (ORCPT ); Mon, 23 Mar 2015 16:17:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46167 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbbCWUQ7 (ORCPT ); Mon, 23 Mar 2015 16:16:59 -0400 Date: Mon, 23 Mar 2015 21:13:21 +0100 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" Cc: Grant Likely , Arnd Bergmann , Heikki Krogerus , Mika Westerberg , ACPI Devel Mailing List , Linux Kernel Mailing List , devicetree@vger.kernel.org Subject: Re: [PATCH] driver core: Implement device property accessors through fwnode ones Message-ID: <20150323201321.GA2071@kroah.com> References: <1422278260-108175-1-git-send-email-heikki.krogerus@linux.intel.com> <10066684.kPKm7OTnxF@vostro.rjw.lan> <9998673.jvqRF9ZONz@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9998673.jvqRF9ZONz@vostro.rjw.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2015 at 12:10:30AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Now that the ACPI companions of devices are pointed to by the fwnode > field in struct device, the device_property_*() accessor functions > can be modified to use their fwnode_property_*() counterparts > internally with minimum extra overhead in the IS_ENABLED(CONFIG_OF) > case, so make those changes. > > This allows us to get rid of the rather ugly DEV_PROP_READ_ARRAY() > macro among other things. > > Signed-off-by: Rafael J. Wysocki > --- > > On top of > > http://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=ce793486e23e0162a732c605189c8028e0910e86 Acked-by: Greg Kroah-Hartman