Hello, On Fri, Dec 04, 2026 at 03:45:29PM +0100, Sven Schnelle wrote: > +#include > +#include already provides acpi_device_id and of_device_id, so please don't include . I want to remove the latter and so appreciate every driver that doesn't introduce a use. (And for your motivation: pulls in several definitions that your driver doesn't need and thus introduces useless build dependencies.) > [...] > +static const struct of_device_id platform_accel_of_match[] = { > + { .compatible = "ibm,platform-accel-v1.0-cpacf", .data = &platform_accel_dev_cpacf }, > + { .compatible = "ibm,platform-accel-v1.0-dfltcc", .data = &platform_accel_dev_dfltcc }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, platform_accel_of_match); > + > +#if IS_ENABLED(CONFIG_ACPI) Is this still how things are done? I thought these tables are supposed to be used unconditionally nowadays. > +static const struct acpi_device_id platform_accel_acpi_match[] = { > + { "IBM077A", (kernel_ulong_t)&platform_accel_dev_cpacf }, > + { "IBM077B", (kernel_ulong_t)&platform_accel_dev_dfltcc }, > + {}, Please use named initializers and drop the trailing comma after the list terminator. Also note that { } is more common than {}. (Also applies to the of_device_id array above.) > +}; > +MODULE_DEVICE_TABLE(acpi, platform_accel_acpi_match); > +#endif > + > +static struct platform_driver platform_accel_driver = { > + .probe = platform_accel_probe, > + .remove = platform_accel_remove, > + .driver = { > + .name = "platform-accel", > + .of_match_table = platform_accel_of_match, > +#if IS_ENABLED(CONFIG_ACPI) > + .acpi_match_table = ACPI_PTR(platform_accel_acpi_match), > +#endif > + }, > +}; > + That empty line is unusual. > +module_platform_driver(platform_accel_driver); > + > +MODULE_AUTHOR("IBM Corporation"); > +MODULE_DESCRIPTION("IBM s390 ARM acceleration platform driver"); > +MODULE_LICENSE("GPL"); Best regards Uwe