]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251x: mcp251x_gpio_setup(): Get rid of duplicate of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Dec 2021 20:58:55 +0000 (22:58 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 5 Jan 2022 09:13:50 +0000 (10:13 +0100)
commita997b3f5bdb493101b9125b5f88ba83eddf1e0d8
tree064d0eb5af03d5e40b2f3d88be3247ec9aec225e
parent3383db2fac0a0778722ecf543eb8045b3403d509
can: mcp251x: mcp251x_gpio_setup(): 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.

Link: https://lore.kernel.org/all/20211202205855.76946-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c