commit | a7303f7735717c95bf5f65c18c901c72e91dc55b | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Mon Oct 28 13:16:10 2019 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Tue Oct 29 15:04:29 2019 +0100 |
tree | 34c6aad20524b06d16f17c6b8266a80272970574 | |
parent | 85d0c4b54fbd5383950ce364641883ea4ad45362 [diff] |
drm/tegra: Do not use ->load() and ->unload() callbacks 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: kick out conflicting framebuffers before initializing fbdev v3: rebase onto drm/tegra/for-next Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>