From: Sudip Mukherjee Date: Thu, 23 Apr 2015 13:38:16 +0000 (+0530) Subject: staging: sm7xxfb: use framebuffer_alloc and release X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~876 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd14ad8be7c521db39f031ab99393360eac553ce;p=pandora-kernel.git staging: sm7xxfb: use framebuffer_alloc and release use the standard framebuffer_alloc() and framebuffer_release() instead of custom defined function. for making that change we had to change a member of the private structure from a variable to pointer and had to touch almost all places of the file. since fb was changed into a pointer so all instance of "sfb->fb." has been changed into "sfb->fb->". now we will get build warning about smtc_alloc_fb_info() and smtc_free_fb_info() to be unused which will be removed in the next patch of the series. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed