gma500: reversed test in mdfld_dbi_dsr_exit()
authorDan Carpenter <error27@gmail.com>
Fri, 8 Jul 2011 08:45:32 +0000 (09:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 20:44:59 +0000 (13:44 -0700)
commitd75758b3d12b45fc7535083a968b3a99935c9d9a
treede94bd9a9efdebffb433c5ef724dd3c0f7abdbbc
parentfc5ace7ed2a58e32047abf65ff8b5a6432e92fac
gma500: reversed test in mdfld_dbi_dsr_exit()

We should only cleanup "dsr_info" if it's non-NULL obviously and not
the other way around.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/mdfld_dsi_dbi.c