Re: [PATCH v2] drm/tegra: Do not use ->load() and ->unload() callbacks

2019-10-25 Thread Thierry Reding
On Fri, Oct 25, 2019 at 12:10:49AM +0300, Dmitry Osipenko wrote: > 24.10.2019 21:15, Michał Mirosław пишет: > > On Thu, Oct 24, 2019 at 07:31:37PM +0200, Thierry Reding wrote: > >> From: Thierry Reding > >> > >> The ->load() and ->unload() drivers are midlayers and should be avoided > >> in modern

Re: [PATCH v2] drm/tegra: Do not use ->load() and ->unload() callbacks

2019-10-25 Thread Dmitry Osipenko
24.10.2019 21:15, Michał Mirosław пишет: > On Thu, Oct 24, 2019 at 07:31:37PM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> The ->load() and ->unload() drivers are midlayers and should be avoided >> in modern drivers. Fix this by moving the code into the driver ->probe() >> and ->remo

Re: [PATCH v2] drm/tegra: Do not use ->load() and ->unload() callbacks

2019-10-25 Thread Michał Mirosław
On Thu, Oct 24, 2019 at 07:31:37PM +0200, Thierry Reding wrote: > From: Thierry Reding > > The ->load() and ->unload() drivers are midlayers and should be avoided > in modern drivers. Fix this by moving the code into the driver ->probe() > and ->remove() implementations, respectively. > > v2: ki