summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-rda.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-12-20 15:24:39 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2021-12-22 10:05:26 +0100
commit9804456e60670cc73f13361a3e628ecdf1bf7ee1 (patch)
tree107cbbd0826f1559eb974ced4ac5a3907c8c595a /drivers/gpio/gpio-rda.c
parenta2d05fb73493ca89b36c7d2c3ffc76effbfcd763 (diff)
downloadlwn-9804456e60670cc73f13361a3e628ecdf1bf7ee1.tar.gz
lwn-9804456e60670cc73f13361a3e628ecdf1bf7ee1.zip
gpio: Remove unused local OF node pointers
After the commit 448cf90513d9 ("gpio: Get rid of duplicate of_node assignment in the drivers") the OF node local pointers become unused. Remove them for good and make compiler happy about. Fixes: 448cf90513d9 ("gpio: Get rid of duplicate of_node assignment in the drivers") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> [Bart: removed unrelated change in gpio-brcmstb] Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpio-rda.c')
-rw-r--r--drivers/gpio/gpio-rda.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rda.c b/drivers/gpio/gpio-rda.c
index 0d03f525dcd3..62ba18b3a602 100644
--- a/drivers/gpio/gpio-rda.c
+++ b/drivers/gpio/gpio-rda.c
@@ -197,7 +197,6 @@ static void rda_gpio_irq_handler(struct irq_desc *desc)
static int rda_gpio_probe(struct platform_device *pdev)
{
- struct device_node *np = pdev->dev.of_node;
struct device *dev = &pdev->dev;
struct gpio_irq_chip *girq;
struct rda_gpio *rda_gpio;