[PATCH] drm/panel: rpi: Drop unused GPIO includes

Sam Ravnborg sam at ravnborg.org
Tue Dec 3 17:55:04 UTC 2019


Hi Linus.

On Tue, Dec 03, 2019 at 04:26:55PM +0100, Linus Walleij wrote:
> The Rpi panel driver doesn't use any symbols from these
> GPIO includes so just drop them.
> 
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
> index 09824e92fc78..adf2dace96e3 100644
> --- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
> +++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
> @@ -44,8 +44,6 @@
>  #include <linux/delay.h>
>  #include <linux/err.h>
>  #include <linux/fb.h>
> -#include <linux/gpio.h>
> -#include <linux/gpio/consumer.h>
>  #include <linux/i2c.h>
>  #include <linux/module.h>
>  #include <linux/of.h>

Obviously correct - applied to drm-misc-next and pushed out.

	Sam


More information about the dri-devel mailing list