]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: rpi-panel-attiny: Get rid of duplicate of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Mar 2022 18:45:08 +0000 (20:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 14:50:28 +0000 (15:50 +0100)
commit48d80351c421a80c4d5cd61b55224c0aed59bf9e
treeaea1f878886cca33934ea203486465e57ea61f2b
parentf2f7b06ab5748536ebe126c4b547b3888c584600
regulator: rpi-panel-attiny: 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 these assignment all at once.

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220325184508.45670-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rpi-panel-attiny-regulator.c