summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel-vbtn.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-11 23:23:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-11 23:23:02 +0100
commit66f5854c6894dc028fc13345838c6f82bfcfef0c (patch)
tree76ac271549bca0d1199df15e1087dcd0d3c6e911 /drivers/platform/x86/intel-vbtn.c
parentbc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff)
parent1571875beecd5de9657f73931449bda1b1329b6f (diff)
downloadlinux-66f5854c6894dc028fc13345838c6f82bfcfef0c.tar.gz
linux-66f5854c6894dc028fc13345838c6f82bfcfef0c.tar.bz2
linux-66f5854c6894dc028fc13345838c6f82bfcfef0c.zip
Merge branch 'device-properties'
* device-properties: ACPI / platform: Add support for build-in properties
Diffstat (limited to 'drivers/platform/x86/intel-vbtn.c')
-rw-r--r--drivers/platform/x86/intel-vbtn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c
index 146d02f8c9bc..78080763df51 100644
--- a/drivers/platform/x86/intel-vbtn.c
+++ b/drivers/platform/x86/intel-vbtn.c
@@ -164,7 +164,7 @@ check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv)
return AE_OK;
if (acpi_match_device_ids(dev, ids) == 0)
- if (acpi_create_platform_device(dev))
+ if (acpi_create_platform_device(dev, NULL))
dev_info(&dev->dev,
"intel-vbtn: created platform device\n");