Re: [PATCH v2] drm/etnaviv: Fix driver unregistering

2018-06-25 Thread Fabio Estevam
Hi Philipp, On Mon, Jun 25, 2018 at 5:02 AM, Philipp Zabel wrote: >> +static struct platform_device *etnaviv_drm; >> + >> static int __init etnaviv_init(void) >> { >> int ret; >> @@ -654,7 +656,8 @@ static int __init etnaviv_init(void) >> if (!of_device_is_available(np)) >>

Re: [PATCH v2] drm/etnaviv: Fix driver unregistering

2018-06-25 Thread Philipp Zabel
Hi Fabio, On Sun, 2018-06-24 at 19:40 -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Russell King reported: > > "When removing and reloading the etnaviv module, the following splat > occurs: > > sysfs: cannot create duplicate filename '/devices/platform/etnaviv' > CPU: 0 PID: 1471 Comm:

[PATCH v2] drm/etnaviv: Fix driver unregistering

2018-06-24 Thread Fabio Estevam
From: Fabio Estevam Russell King reported: "When removing and reloading the etnaviv module, the following splat occurs: sysfs: cannot create duplicate filename '/devices/platform/etnaviv' CPU: 0 PID: 1471 Comm: modprobe Not tainted 4.17.0+ #1608 Hardware name: Marvell Dove (Cubox) Backtrace: []