
10 Dec
2018
10 Dec
'18
12:23 a.m.
At present the driver-private data is global. To allow this code to be used with driver model, change it to pass the data down to each function. Use the name 'priv' consistently throughout.
Also rename wm8994_update_bits() to wm8994_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition.
Signed-off-by: Simon Glass sjg@chromium.org ---
drivers/sound/wm8994.c | 296 +++++++++++++++++++++-------------------- 1 file changed, 154 insertions(+), 142 deletions(-)
Applied to u-boot-dm/master