Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1348020
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] device property: don't bother the drivers with struct property_set |
| Date | 2016-03-02 14:10 +0100 |
| Message-ID | <r8eHn-80v-1@gated-at.bofh.it> (permalink) |
| References | <r6oKS-2sN-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 26 Feb 2016, 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@linux.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 ++-- Acked-by: Lee Jones <lee.jones@linaro.org> > include/linux/mfd/core.h | 2 +- > include/linux/platform_device.h | 4 ++-- > include/linux/property.h | 15 +++------------ > 11 files changed, 47 insertions(+), 62 deletions(-) > > Hi Rafael, > > This depends on Johannes' wireless next tree: > git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] device property: don't bother the drivers with struct property_set Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-02-26 12:30 +0100 Re: [PATCH] device property: don't bother the drivers with struct property_set Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-02-26 15:40 +0100 Re: [PATCH] device property: don't bother the drivers with struct property_set Thierry Reding <treding@nvidia.com> - 2016-02-26 16:40 +0100 Re: [PATCH] device property: don't bother the drivers with struct property_set Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-02-29 14:10 +0100 Re: [PATCH] device property: don't bother the drivers with struct property_set Lee Jones <lee.jones@linaro.org> - 2016-03-02 14:10 +0100
csiph-web