drm/msm/dpu: Drop unused GPIO code
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 29 Jun 2019 12:59:29 +0000 (14:59 +0200)
committerRob Clark <robdclark@chromium.org>
Tue, 3 Sep 2019 23:16:58 +0000 (16:16 -0700)
commit86fe3f546eb36d3a2eb252046dd2381ef02aa70c
treec0050543af9ab6c438325b584aa089dc218525a4
parent2acc0d2db5ef33299e21421803387bfb96a5b00a
drm/msm/dpu: Drop unused GPIO code

The DPU has some kind of idea that it wants to be able to
bring up power using GPIO lines. The struct dss_gpio is however
completely unused and should this be done, it should be done
using the GPIO descriptor framework rather than this API
which relies on the global GPIO numberspace. Delete this
code before anyone hurt themselves.

The inclusion of <linux/gpio.h> was abused to get some OF
and IRQ headers implicitly included into the DPU utilities,
make these includes explicit and push them down into the actual
implementation.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c
drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c