Commit 4122abfe authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Jiri Kosina

HID: i2c-hid: acpi: Unify ACPI ID tables format

Unify ACPI ID tables format by:
- surrounding HID by spaces
- dropping unnecessary driver_data assignment to 0
- dropping comma at the terminator entry
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 572eaeb7
...@@ -39,8 +39,8 @@ static const struct acpi_device_id i2c_hid_acpi_blacklist[] = { ...@@ -39,8 +39,8 @@ static const struct acpi_device_id i2c_hid_acpi_blacklist[] = {
* The CHPN0001 ACPI device, which is used to describe the Chipone * The CHPN0001 ACPI device, which is used to describe the Chipone
* ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible. * ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible.
*/ */
{"CHPN0001", 0 }, { "CHPN0001" },
{ }, { }
}; };
/* HID I²C Device: 3cdff6f7-4267-4555-ad05-b30a3d8938de */ /* HID I²C Device: 3cdff6f7-4267-4555-ad05-b30a3d8938de */
...@@ -104,9 +104,9 @@ static int i2c_hid_acpi_probe(struct i2c_client *client) ...@@ -104,9 +104,9 @@ static int i2c_hid_acpi_probe(struct i2c_client *client)
} }
static const struct acpi_device_id i2c_hid_acpi_match[] = { static const struct acpi_device_id i2c_hid_acpi_match[] = {
{"ACPI0C50", 0 }, { "ACPI0C50" },
{"PNP0C50", 0 }, { "PNP0C50" },
{ }, { }
}; };
MODULE_DEVICE_TABLE(acpi, i2c_hid_acpi_match); MODULE_DEVICE_TABLE(acpi, i2c_hid_acpi_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment