msm: mdss: fix ret value during error case

Fix ret value for error case in framebuffer
allocation api and use integer instead of
unsigned int for sscanf api.

CRs-fixed: 790640
Change-Id: Ib7fa217334365b8194571e220740a769597636e0
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
1 file changed