]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit902a0a0967aa3b8a3c43cc205016cf549831accc
treec0050543af9ab6c438325b584aa089dc218525a4
parent47601db99c84b24f596aee02d1e083b1a99c762d
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