platform: introduce OF style 'modalias' support for platform bus
authorZhang Rui <rui.zhang@intel.com>
Tue, 14 Jan 2014 08:46:38 +0000 (16:46 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jan 2014 00:59:15 +0000 (01:59 +0100)
commitb9f73067f32531db608e469a9ad20ce631e34550
treed3377f695cbdb34e9873846f8dbac79f883d5014
parent8c4ff6d0094a16809a7ecdd49d71cf06b0a51326
platform: introduce OF style 'modalias' support for platform bus

Fix a problem that, the platform bus supports the OF style modalias
in .uevent() call, but not in its device 'modalias' sysfs attribute.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/platform.c
drivers/of/device.c
include/linux/of_device.h