Skip to content

Commit 3013c7f

Browse files
committed
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Mika Westerberg <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent a9d7dfa commit 3013c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/intel/pinctrl-denverton.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ static const struct platform_device_id dnv_pinctrl_platform_ids[] = {
261261
{ "denverton-pinctrl", (kernel_ulong_t)&dnv_soc_data },
262262
{ }
263263
};
264+
MODULE_DEVICE_TABLE(platform, dnv_pinctrl_platform_ids);
264265

265266
static struct platform_driver dnv_pinctrl_driver = {
266267
.probe = intel_pinctrl_probe_by_hid,
@@ -287,5 +288,4 @@ module_exit(dnv_pinctrl_exit);
287288
MODULE_AUTHOR("Mika Westerberg <[email protected]>");
288289
MODULE_DESCRIPTION("Intel Denverton SoC pinctrl/GPIO driver");
289290
MODULE_LICENSE("GPL v2");
290-
MODULE_ALIAS("platform:denverton-pinctrl");
291291
MODULE_IMPORT_NS(PINCTRL_INTEL);

0 commit comments

Comments
 (0)