]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mfd: core: propagate device properties to sub devices drivers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Nov 2015 15:11:40 +0000 (17:11 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:58:01 +0000 (08:58 -0700)
commita1434fb70694c8454c4eef0028c6652854e37fbd
tree60dffb2d65d57cc7d582cc69b8050b4f5dbbace0
parent7880c57b6cccd5018496b17de9b5cb965f52fd5f
mfd: core: propagate device properties to sub devices drivers

BugLink: http://bugs.launchpad.net/bugs/1533035
In the similar way like we do for the platform data we propagate the device
properties. For example, in case of Intel LPSS drivers we may provide a
specific property to tell the actual device driver an additional information
such as platform name.

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 4d215cabc784990df11fbcca7af70adf53c9ff17)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/mfd/mfd-core.c
include/linux/mfd/core.h