Staging: fbtft: fbtft-core: Removed unnecessary checks
authorNizam Haider <nizamhaider786@gmail.com>
Sun, 22 Nov 2015 04:09:26 +0000 (09:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:37:36 +0000 (19:37 -0800)
commit2fe9f8caadff1e5d3069e93192a544613d4ecbf3
treee6be244648a53e433e47817c358104cc3644fe2b
parentde593dca1b6b4a932d465214dab311d5daacfa76
Staging: fbtft: fbtft-core: Removed unnecessary checks

The driver core clears the driver data to NULL after device_release
or on probe failure.

Signed-off-by: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c