diff mbox series

Input: davinci-keyscan: remove leftover header

Message ID 20241216083218.22926-1-brgl@bgdev.pl (mailing list archive)
State Mainlined
Commit 828fd3f1d611cff5accb9fbff75f6bb011d8c9e2
Headers show
Series Input: davinci-keyscan: remove leftover header | expand

Commit Message

Bartosz Golaszewski Dec. 16, 2024, 8:32 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

The corresponding driver was removed two years ago but the platform data
header was left behind. Remove it now.

Fixes: 3c9cb34939fb ("input: remove davinci keyboard driver")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 include/linux/platform_data/keyscan-davinci.h | 29 -------------------
 1 file changed, 29 deletions(-)
 delete mode 100644 include/linux/platform_data/keyscan-davinci.h

Comments

Arnd Bergmann Dec. 16, 2024, 8:37 a.m. UTC | #1
On Mon, Dec 16, 2024, at 09:32, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> The corresponding driver was removed two years ago but the platform data
> header was left behind. Remove it now.
>
> Fixes: 3c9cb34939fb ("input: remove davinci keyboard driver")
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
>  include/linux/platform_data/keyscan-davinci.h | 29 -------------------
>  1 file changed, 29 deletions(-)
>  delete mode 100644 include/linux/platform_data/keyscan-davinci.h

Thanks for the fix!

Dmitry, can you pick this up?

Acked-by: Arnd Bergmann <arnd@arndb.de>
Dmitry Torokhov Dec. 16, 2024, 5:22 p.m. UTC | #2
On Mon, Dec 16, 2024 at 09:32:17AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> The corresponding driver was removed two years ago but the platform data
> header was left behind. Remove it now.
> 
> Fixes: 3c9cb34939fb ("input: remove davinci keyboard driver")
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Applied, thank you.
diff mbox series

Patch

diff --git a/include/linux/platform_data/keyscan-davinci.h b/include/linux/platform_data/keyscan-davinci.h
deleted file mode 100644
index 260d596ba0afe..0000000000000
--- a/include/linux/platform_data/keyscan-davinci.h
+++ /dev/null
@@ -1,29 +0,0 @@ 
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (C) 2009 Texas Instruments, Inc
- *
- * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com>
- */
-
-#ifndef DAVINCI_KEYSCAN_H
-#define DAVINCI_KEYSCAN_H
-
-#include <linux/io.h>
-
-enum davinci_matrix_types {
-	DAVINCI_KEYSCAN_MATRIX_4X4,
-	DAVINCI_KEYSCAN_MATRIX_5X3,
-};
-
-struct davinci_ks_platform_data {
-	int		(*device_enable)(struct device *dev);
-	unsigned short	*keymap;
-	u32		keymapsize;
-	u8		rep:1;
-	u8		strobe;
-	u8		interval;
-	u8		matrix_type;
-};
-
-#endif
-