]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: zl38060: Setup parent device and get rid of unnecessary of_node assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Dec 2021 20:48:38 +0000 (22:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Dec 2021 13:49:27 +0000 (13:49 +0000)
commit66728b19310b3771e3258a8c84ccd20981cb1ea3
tree52bbc5f0cf3f201f9f43d23e1f265776762ff9cf
parentc3ee56aff399c1430b6b6901f0912773301a5c0e
ASoC: zl38060: Setup parent device and get rid of unnecessary of_node assignment

Some of the drivers do not set parent device. This may lead to obstacles
during debugging or understanding the device relations from the Linux
point of view. Assign parent device for GPIO chips created by these
drivers.

While at it, let GPIO library to assign of_node from the parent device.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211202204838.75287-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/zl38060.c