Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: denverton: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()

As Krzysztof pointed out the better is to use MODULE_DEVICE_TABLE()
as it will be consistent with the content of the real ID table of
the platform devices.

Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

+1 -1
+1 -1
drivers/pinctrl/intel/pinctrl-denverton.c
··· 261 261 { "denverton-pinctrl", (kernel_ulong_t)&dnv_soc_data }, 262 262 { } 263 263 }; 264 + MODULE_DEVICE_TABLE(platform, dnv_pinctrl_platform_ids); 264 265 265 266 static struct platform_driver dnv_pinctrl_driver = { 266 267 .probe = intel_pinctrl_probe_by_hid, ··· 288 287 MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); 289 288 MODULE_DESCRIPTION("Intel Denverton SoC pinctrl/GPIO driver"); 290 289 MODULE_LICENSE("GPL v2"); 291 - MODULE_ALIAS("platform:denverton-pinctrl"); 292 290 MODULE_IMPORT_NS(PINCTRL_INTEL);