]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
driver core: platform: Add support for built-in device properties
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 30 Nov 2015 15:11:38 +0000 (17:11 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:58:00 +0000 (08:58 -0700)
commit010fdc76f6f781a0dd55ad7c26994747e77c95cb
tree2f850b85c3d128438cfc8c4ef4be9fe488439369
parentef07c9b2d6a1db13b5f7a50da02147ce73f3f5a3
driver core: platform: Add support for built-in device properties

BugLink: http://bugs.launchpad.net/bugs/1533035
Make it possible to pass built-in device properties to platform device
drivers. This is useful if the system does not have any firmware interface
like Device Tree or ACPI which provides these.

Properties associated with the platform device will be automatically
released when the corresponding device is removed.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 00bbc1d8e46a92ce7bd80622cf4b09c3b727a741)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/base/platform.c
include/linux/platform_device.h