drm/ast: Remove test for device from ast_pm_freeze()
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Jun 2020 08:03:38 +0000 (10:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 22 Jun 2020 11:39:23 +0000 (13:39 +0200)
commit5534bc8f184020ace49b1dfdcdc07ad6555968ac
treec51e9f615c75900b75a7ac18f5a25bbe6f5bf4e7
parent05f13f5b5996d20a9819e0c6fd0cda4956c8aff9
drm/ast: Remove test for device from ast_pm_freeze()

The driver cannot suspend before it has loaded completely. So the test
for device pointers is not required. Remove it.

v3:
* s/them/it/ in commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200617080340.29584-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.c