From: Dan Carpenter Date: Sat, 23 May 2015 17:32:35 +0000 (+0300) Subject: fbdev: ssd1307fb: potential ERR_PTR dereference X-Git-Tag: omap-for-v4.3/legacy-v2-signed~177^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2b00024bc6f3408b0facc87227383e633131900;p=pandora-kernel.git fbdev: ssd1307fb: potential ERR_PTR dereference The error handling got shifted down a few lines from where it was supposed to be for some reason. Fixes: a14a7ba8cb0f ('fbdev: ssd1307fb: add backlight controls for setting the contrast') Signed-off-by: Dan Carpenter Acked-by: Maxime Ripard Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed