aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorDan O'Donovan <dan@emutex.com>2017-02-05 16:30:12 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-07 13:31:50 +0100
commit51ede5d9668f14d57ea6ba6eaa1b11d5b8ed2780 (patch)
tree452ab27ba30ad0217ad3ae0af3d0e1eee1ea170c /drivers/i2c/i2c-core.c
parentLinux 4.10-rc7 (diff)
downloadlinux-dev-51ede5d9668f14d57ea6ba6eaa1b11d5b8ed2780.tar.xz
linux-dev-51ede5d9668f14d57ea6ba6eaa1b11d5b8ed2780.zip
ACPI / bus: Introduce acpi_of_modalias() equiv of of_modalias_node()
When using devicetree stuff like i2c_client.name or spi_device.modalias is initialized to the first DT compatible id with the vendor prefix stripped. Since some drivers rely on this try to replicate it when using ACPI with DT ids. Signed-off-by: Dan O'Donovan <dan@emutex.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions