summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-01-26 19:15:59 +0300
committerStefan Schmidt <stefan@datenfreihafen.org>2023-01-31 11:05:36 +0300
commit6755dee8343cbc4af45e001d904c9a857a451bec (patch)
tree6af152bf2861cf51b8067fb61526be98e846a1de /include/linux/spi
parent8338304c2719fb7aec8e4b5dd9fa684b719db06e (diff)
downloadlinux-6755dee8343cbc4af45e001d904c9a857a451bec.tar.xz
cc2520: move to gpio descriptors
cc2520 supports both probing from static platform_data and from devicetree, but there have never been any definitions of the platform data in the mainline kernel, so it's safe to assume that only the DT path is used. After folding cc2520_platform_data into the driver itself, the GPIO handling can be simplified by moving to the modern gpiod interface. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20230126161658.2983292-1-arnd@kernel.org Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/cc2520.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/spi/cc2520.h b/include/linux/spi/cc2520.h
deleted file mode 100644
index 449bacf10700..000000000000
--- a/include/linux/spi/cc2520.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/* Header file for cc2520 radio driver
- *
- * Copyright (C) 2014 Varka Bhadram <varkab@cdac.in>
- * Md.Jamal Mohiuddin <mjmohiuddin@cdac.in>
- * P Sowjanya <sowjanyap@cdac.in>
- */
-
-#ifndef __CC2520_H
-#define __CC2520_H
-
-struct cc2520_platform_data {
- int fifo;
- int fifop;
- int cca;
- int sfd;
- int reset;
- int vreg;
-};
-
-#endif