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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);