From: Hans de Goede Date: Mon, 13 Mar 2023 13:02:41 +0000 (+0100) Subject: platform/x86: pcengines-apuv2: Drop platform:pcengines-apuv2 module-alias X-Git-Tag: v6.6.17~5045^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd3c3584539026a708493a49f65d8ff3eb369002;p=platform%2Fkernel%2Flinux-rpi.git platform/x86: pcengines-apuv2: Drop platform:pcengines-apuv2 module-alias The driver auto-loads based on the DMI modaliases and this platform modalias is not necessary and broken: 1. Not necessary since the driver itself creates the platform_device, so it is already loaded when the modalias might be used 2. From a quick scan of the code it does not create any platform-devices called "platform:pcengines-apuv2" Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20230313130241.778146-1-hdegoede@redhat.com --- diff --git a/drivers/platform/x86/pcengines-apuv2.c b/drivers/platform/x86/pcengines-apuv2.c index d063d91..3aa63b1 100644 --- a/drivers/platform/x86/pcengines-apuv2.c +++ b/drivers/platform/x86/pcengines-apuv2.c @@ -291,5 +291,4 @@ MODULE_AUTHOR("Enrico Weigelt, metux IT consult "); MODULE_DESCRIPTION("PC Engines APUv2/APUv3 board GPIO/LEDs/keys driver"); MODULE_LICENSE("GPL"); MODULE_DEVICE_TABLE(dmi, apu_gpio_dmi_table); -MODULE_ALIAS("platform:pcengines-apuv2"); MODULE_SOFTDEP("pre: platform:" AMD_FCH_GPIO_DRIVER_NAME " platform:leds-gpio platform:gpio_keys_polled");