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

Split framebuffer allocation and registration into a dedicated function
to simplify lynxfb_pci_probe

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