]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: vsc73xxx: Get rid of duplicate of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Dec 2021 21:00:29 +0000 (23:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 14:13:02 +0000 (14:13 +0000)
commit5dccc4c1f2f9022cb39733cdb77b7b1b4a134290
treeba732c56a7e1253f4f29832f4215526f68d9ef93
parentc5013bb91e3f0a976748716ffdb3a9498fbd0996
net: dsa: vsc73xxx: Get rid of duplicate of_node assignment

GPIO library does copy the of_node from the parent device of
the GPIO chip, there is no need to repeat this in the individual
drivers. Remove assignment here.

For the details one may look into the of_gpio_dev_init() implementation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/vitesse-vsc73xx-core.c