commit | 998f4d8140b56dfe6bd3fae272eb8d02cda9bfce | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 03 04:37:26 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 13 16:32:49 2018 -0700 |
tree | dee968f4f76b100a0fa5240677b09b43fe8b871a | |
parent | fd7d697560e29856ac8fa175d2e68cdcb533b6d5 [diff] |
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>