staging: fbtft: Fix potential null dereference
authorRavindran, Madhusudhanan (M.) <mravindr@visteon.com>
Mon, 16 Mar 2015 15:36:41 +0000 (15:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:54:50 +0000 (13:54 +0100)
commit6a938a8cef9abad2ae13e6a48329f5119930b0d6
tree31e921dec65c20067d20ef6a1d511ff62882ba00
parentaa5735f139f84a3d1e4ef4d0ba177a25372506fb
staging: fbtft: Fix potential null dereference

This error is found by smatch tool.

Signed-off-by: Madhusudhanan Ravindran <mravindr@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_agm1264k-fl.c