Skip to content

Commit 4122abf

Browse files
andy-shevJiri Kosina
authored andcommitted
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: Andy Shevchenko <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 572eaeb commit 4122abf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/hid/i2c-hid/i2c-hid-acpi.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ static const struct acpi_device_id i2c_hid_acpi_blacklist[] = {
3939
* The CHPN0001 ACPI device, which is used to describe the Chipone
4040
* ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible.
4141
*/
42-
{"CHPN0001", 0 },
43-
{ },
42+
{ "CHPN0001" },
43+
{ }
4444
};
4545

4646
/* HID I²C Device: 3cdff6f7-4267-4555-ad05-b30a3d8938de */
@@ -104,9 +104,9 @@ static int i2c_hid_acpi_probe(struct i2c_client *client)
104104
}
105105

106106
static const struct acpi_device_id i2c_hid_acpi_match[] = {
107-
{"ACPI0C50", 0 },
108-
{"PNP0C50", 0 },
109-
{ },
107+
{ "ACPI0C50" },
108+
{ "PNP0C50" },
109+
{ }
110110
};
111111
MODULE_DEVICE_TABLE(acpi, i2c_hid_acpi_match);
112112

0 commit comments

Comments
 (0)