[PATCH] Input: davinci-keyscan: remove leftover header

Bartosz Golaszewski posted 1 patch 1 year ago
include/linux/platform_data/keyscan-davinci.h | 29 -------------------
1 file changed, 29 deletions(-)
delete mode 100644 include/linux/platform_data/keyscan-davinci.h
[PATCH] Input: davinci-keyscan: remove leftover header
Posted by Bartosz Golaszewski 1 year ago
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

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
-
-- 
2.30.2
Re: [PATCH] Input: davinci-keyscan: remove leftover header
Posted by Dmitry Torokhov 1 year ago
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.

-- 
Dmitry
Re: [PATCH] Input: davinci-keyscan: remove leftover header
Posted by Arnd Bergmann 1 year ago
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>