leds: lgm-sso: Get rid of duplicate of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 Dec 2021 14:27:39 +0000 (16:27 +0200)
committerPavel Machek <pavel@ucw.cz>
Wed, 15 Dec 2021 20:26:53 +0000 (21:26 +0100)
commit48d26841d9b6e27de07c81d1b4076500389958b7
tree8fa5626859eb35ddf7ab04a4692e441749a57381
parente68e05e670854c8ff7652f891ff5bd16a246f967
leds: lgm-sso: 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.

Call graph:
   --> sso_gpio_gc_init()
     --> devm_gpiochip_add_data
       --> devm_gpiochip_add_data_with_key
         --> gpiochip_add_data_with_key()
           --> of_gpio_dev_init()

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/blink/leds-lgm-sso.c