Skip to content

Commit

Permalink
platform/x86: intel-hid: Move MODULE_DEVICE_TABLE() closer to the table
Browse files Browse the repository at this point in the history
Move MODULE_DEVICE_TABLE() closer to the table for better maintenance.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
Andy Shevchenko committed Feb 10, 2020
1 parent 16292be commit 57ba263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/intel-hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ static const struct acpi_device_id intel_hid_ids[] = {
{"INT33D5", 0},
{"", 0},
};
MODULE_DEVICE_TABLE(acpi, intel_hid_ids);

/* In theory, these are HID usages. */
static const struct key_entry intel_hid_keymap[] = {
Expand Down Expand Up @@ -541,7 +542,6 @@ static struct platform_driver intel_hid_pl_driver = {
.probe = intel_hid_probe,
.remove = intel_hid_remove,
};
MODULE_DEVICE_TABLE(acpi, intel_hid_ids);

/*
* Unfortunately, some laptops provide a _HID="INT33D5" device with
Expand Down

0 comments on commit 57ba263

Please sign in to comment.