diff mbox series

[8/9] spi: remove unused header file <linux/platform_data/spi-clps711x.h>

Message ID 20211102220203.940290-9-corbet@lwn.net (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Jonathan Corbet Nov. 2, 2021, 10:02 p.m. UTC
Commit 6acaadc852f1 ("spi: clps711x: Driver refactor") removed the only use
of <linux/platform_data/spi-clps711x.h>, but left the header file behind.
This file is unused, delete it.

Cc: Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
 include/linux/platform_data/spi-clps711x.h | 17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100644 include/linux/platform_data/spi-clps711x.h

Comments

Arnd Bergmann Nov. 2, 2021, 10:37 p.m. UTC | #1
On Tue, Nov 2, 2021 at 11:02 PM Jonathan Corbet <corbet@lwn.net> wrote:
>
> Commit 6acaadc852f1 ("spi: clps711x: Driver refactor") removed the only use
> of <linux/platform_data/spi-clps711x.h>, but left the header file behind.
> This file is unused, delete it.
>
> Cc: Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Signed-off-by: Mark Brown <broonie@kernel.org>

Aside from the misplaced Signed-off-by, the patch looks good

> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>

Acked-by: Arnd Bergmann <arnd@arndb.de>
diff mbox series

Patch

diff --git a/include/linux/platform_data/spi-clps711x.h b/include/linux/platform_data/spi-clps711x.h
deleted file mode 100644
index efaa596848c9..000000000000
--- a/include/linux/platform_data/spi-clps711x.h
+++ /dev/null
@@ -1,17 +0,0 @@ 
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- *  CLPS711X SPI bus driver definitions
- *
- *  Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
- */
-
-#ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
-#define ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
-
-/* Board specific platform_data */
-struct spi_clps711x_pdata {
-	int *chipselect;	/* Array of GPIO-numbers */
-	int num_chipselect;	/* Total count of GPIOs */
-};
-
-#endif