]> git.baikalelectronics.ru Git - uboot.git/commit
dm: sound: wm8994: Create a new common init function
authorSimon Glass <sjg@chromium.org>
Mon, 3 Dec 2018 11:37:26 +0000 (04:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commit37fd1f51fb4a441b0b85e55cd59dbf43c7f3879c
treedee968f4f76b100a0fa5240677b09b43fe8b871a
parent0a9935bb0216461e7e0f58683b2413e1d7e845d1
dm: sound: wm8994: Create a new common init function

With driver model we cannot pass in the global struct, but instead want
to pass in the driver-private data. Split some of the code out of
wm8994_init() to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/sound/wm8994.c