cc2520: move to gpio descriptors
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Jan 2023 16:15:59 +0000 (17:15 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 31 Jan 2023 08:05:36 +0000 (09:05 +0100)
commit6755dee8343cbc4af45e001d904c9a857a451bec
tree6af152bf2861cf51b8067fb61526be98e846a1de
parent8338304c2719fb7aec8e4b5dd9fa684b719db06e
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>
MAINTAINERS
drivers/net/ieee802154/cc2520.c
include/linux/spi/cc2520.h [deleted file]