There is no need to have ugly ifdeffery and additional macrosAcked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>
for the ID tables. Always provide them. Since we touch the
ACPI table, make it sorted by ID.
While at it, group MODULE_ALIAS() with other MODULE_*() macros.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/i2c/busses/i2c-designware-platdrv.c | 65 ++++++++++-----------
1 file changed, 31 insertions(+), 34 deletions(-)
+/* Work with hotplug and coldplug */
+MODULE_ALIAS("platform:i2c_designware");