aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-01-26 17:15:59 +0100
committerStefan Schmidt <[email protected]>2023-01-31 09:05:36 +0100
commit6755dee8343cbc4af45e001d904c9a857a451bec (patch)
tree6af152bf2861cf51b8067fb61526be98e846a1de /include/linux
parent8338304c2719fb7aec8e4b5dd9fa684b719db06e (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'include/linux')
-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 <[email protected]>
- * Md.Jamal Mohiuddin <[email protected]>
- * P Sowjanya <[email protected]>
- */
-
-#ifndef __CC2520_H
-#define __CC2520_H
-
-struct cc2520_platform_data {
- int fifo;
- int fifop;
- int cca;
- int sfd;
- int reset;
- int vreg;
-};
-
-#endif