Vladimir Zapolskiy 4dacad6151 omapfb: panel-sharp-ls037v7dw01: fix check of gpio_to_desc() return value
The change fixes a check of gpio_to_desc() return value, the function
returns either a valid pointer to struct gpio_desc or NULL, this makes
IS_ERR() check invalid and may lead to a NULL pointer dereference in
runtime.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-04-18 12:18:37 +03:00
..
2016-01-22 18:04:28 -05:00
2016-02-29 18:56:03 +02:00
2014-07-01 13:32:30 +03:00
2015-06-23 16:23:30 -07:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2015-10-08 12:19:39 +03:00
2016-02-26 12:16:58 +02:00
2016-02-26 13:28:35 +02:00
2015-03-02 13:17:24 +02:00
2015-11-10 10:00:09 -08:00
2015-08-20 12:03:53 +03:00