Commit 3c7e0ccc authored by Michael Walle's avatar Michael Walle Committed by Lucas Stach

drm/etnaviv: use PLATFORM_DEVID_NONE

There is already a macro for the magic value. Use it.
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent fa55b7dc
......@@ -653,7 +653,7 @@ static int __init etnaviv_init(void)
if (!of_device_is_available(np))
continue;
pdev = platform_device_alloc("etnaviv", -1);
pdev = platform_device_alloc("etnaviv", PLATFORM_DEVID_NONE);
if (!pdev) {
ret = -ENOMEM;
of_node_put(np);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment