drm/ast: Free container instead of member in ast_user_framebuffer_destroy()
authorEgbert Eich <eich@suse.de>
Tue, 18 Jul 2017 14:47:37 +0000 (16:47 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Aug 2017 02:12:27 +0000 (12:12 +1000)
commitf3b91060b5e4ae89fb7132b9e8e1958b829ddc22
treedb14c9ca4787615b596c538566d4d366992f12fd
parent587b9b1a2a068c01fdf51003a7b6951761041d01
drm/ast: Free container instead of member in ast_user_framebuffer_destroy()

Technically freeing ast_fb->base is the same as freeing ast_fb as 'base'
the first member of the data structure.
Still this makes it cleaner.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_main.c