Re: [PATCH 2/2] device property: Introduce firmware node type for platform data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 03, 2015 at 04:05:11PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> 
> Introduce data structures and code allowing "built-in" properties
> to be associated with devices in such a way that they will be used
> by the device_property_* API if no proper firmware node (neither DT
> nor ACPI) is present for the given device.
> 
> Each property is to be represented by a property_entry structure.
> An array of property_entry structures (terminated with a null
> entry) can be pointed to by the properties field of struct
> property_set that can be added as a firmware node to a struct
> device using device_add_property_set().  That will cause the
> device_property_* API to use that property_set as the source
> of properties if the given device does not have a DT node or
> an ACPI companion device object associated with it.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> Tested-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> ---
> 
> Greg, any objections?

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux