diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-12-10 16:11:44 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-29 12:06:31 +0300 |
commit | ef1ea03d7574273d39b6af49494b02e337992a62 (patch) | |
tree | ea45edb61289b0cc2b5412e776e8847efd69453f /.mailmap | |
parent | 7f496cfd6bd5a74c9cd50252b3a0141709cbf020 (diff) | |
download | linux-ef1ea03d7574273d39b6af49494b02e337992a62.tar.xz |
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions