commit | ef1ea03d7574273d39b6af49494b02e337992a62 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Thu Dec 10 14:11:44 2015 +0100 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Tue Dec 29 11:06:31 2015 +0200 |
tree | ea45edb61289b0cc2b5412e776e8847efd69453f | |
parent | 7f496cfd6bd5a74c9cd50252b3a0141709cbf020 [diff] |
fbdev: omap2: panel-dpi: simplify gpio setting gpiod_set_value_cansleep is a noop when the passed descriptor is NULL. So there is no need to duplicate the check for NULL; just call the function unconditionally instead. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>