[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160226153530.GC9111@ulmo.nvidia.com>
Date: Fri, 26 Feb 2016 16:35:31 +0100
From: Thierry Reding <treding@...dia.com>
To: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
CC: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Lee Jones <lee.jones@...aro.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
<linux-kernel@...r.kernel.org>, <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH] device property: don't bother the drivers with struct
property_set
On Fri, Feb 26, 2016 at 01:20:00PM +0200, Heikki Krogerus wrote:
> Since device_add_property_set() now always takes a copy of
> the property_set, and also since the fwnode type is always
> hard coded to be FWNODE_PDATA, there is no need for the
> drivers to deliver the entire struct property_set. The
> function can just create the instance of it on its own and
> bind the properties from the drivers to it on the spot.
>
> This renames device_add_property_set() to
> device_add_properties(). The function now takes struct
> property_entry as its parameter instead of struct
> property_set.
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> ---
> arch/arm/mach-tegra/board-paz00.c | 6 +-----
> drivers/base/platform.c | 19 ++++++++++---------
> drivers/base/property.c | 35 ++++++++++++++++++++++-------------
> drivers/mfd/intel-lpss-acpi.c | 6 +-----
> drivers/mfd/intel-lpss-pci.c | 14 +++-----------
> drivers/mfd/intel-lpss.c | 2 +-
> drivers/mfd/intel-lpss.h | 2 +-
> drivers/mfd/mfd-core.c | 4 ++--
> include/linux/mfd/core.h | 2 +-
> include/linux/platform_device.h | 4 ++--
> include/linux/property.h | 15 +++------------
> 11 files changed, 47 insertions(+), 62 deletions(-)
For the Tegra bits:
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists