gpu: host1x: Clean up debugfs in error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 26 Apr 2020 19:16:30 +0000 (21:16 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 16 Jun 2020 11:46:17 +0000 (13:46 +0200)
commit109be8b23fb2ec8e2d309325ee3b7a49eab63961
tree758d9590daccf080a06d266f74a1f48a1f18fc0f
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
gpu: host1x: Clean up debugfs in error handling path

host1x_debug_init() must be reverted in an error handling path.

This is already fixed in the remove function since commit 44156eee91ba
("gpu: host1x: Clean up debugfs on removal")

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.c