diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-12-10 14:11:44 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-29 11:06:31 +0200 |
commit | ef1ea03d7574273d39b6af49494b02e337992a62 (patch) | |
tree | ea45edb61289b0cc2b5412e776e8847efd69453f /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions