staging: sm750fb: introduce sm750fb_frambuffer_release
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 17 Jan 2016 17:59:53 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:50:53 +0000 (18:50 -0800)
commit9324f9193bc3ba7a07e70ac6e01b3257fb17f390
treeb5cf4fb059dfd8e87d639f9be0fbee3d4f7ad86b
parenta3f92cc94c6126d243d1cfc4f198e101f89bd46b
staging: sm750fb: introduce sm750fb_frambuffer_release

Use a function to unregister framebuffer info and release its resources.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c