Am Freitag, den 12.08.2016, 22:48 +0200 schrieb Daniel Vetter: > It's deprecated and only should be used by drivers which still use > drm_platform_init, not by anyone else. > > And indeed it's entirely unused and can be nuked. > > Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > Cc: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> > Cc: Christian Gmeiner <christian.gmeiner@xxxxxxxxx> > Reviewed-by: Sean Paul <seanpaul@xxxxxxxxxxxx> > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> Yeah, I've had this on my list of cleanups to do, so: Acked-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> I suppose you are taking this through the misc tree, if not please ping me. > --- > drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c > index ffd1b32caa8d..0c00947d15f2 100644 > --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c > +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c > @@ -533,8 +533,6 @@ static int etnaviv_bind(struct device *dev) > if (!drm) > return -ENOMEM; > > - drm->platformdev = to_platform_device(dev); > - > priv = kzalloc(sizeof(*priv), GFP_KERNEL); > if (!priv) { > dev_err(dev, "failed to allocate private data\n"); _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel