diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-08-20 16:45:41 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-09-10 12:48:50 +0200 |
commit | 719cf71cada1abc4f8727eac918b639a4a502a59 (patch) | |
tree | 91a716f1483496b7577f1a562234b21d4ba8824c /drivers/base | |
parent | 11da3a7f84f19c26da6f86af878298694ede0804 (diff) | |
download | linux-719cf71cada1abc4f8727eac918b639a4a502a59.tar.bz2 |
ACPI / glue: Split dev_is_platform() out of module for wide use
There would be useful to have in future the similar API in platform
core, as we have, for example, for PCI subsystem, to check if device
belongs to it.
Thus, split out conditional to a macro dev_is_platform() for wide use.
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions