commit | da82ee99eef9817416ea9b8a23973da062d5c8fe | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Thu Jun 30 00:52:15 2016 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Jul 12 14:10:57 2016 +0200 |
tree | e4939f67791dc69a67d6ad4cec525b5cf9d185b3 | |
parent | 37035e7411fc90d57e4aca83ef654f50c3a0f626 [diff] |
drm_aux-dev: fix error handling in drm_dp_aux_dev_init() If class_create() fails, there is no need for class_destroy(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1467237135-13075-1-git-send-email-khoroshilov@ispras.ru