aboutsummaryrefslogtreecommitdiff
path: root/drivers/sound/wm8994.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-03 04:37:25 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commita832a3e36f5c76a23aa3f1cae477835859e9781f (patch)
treec0221e21500f35a7a3d7156b4e69093033a37462 /drivers/sound/wm8994.c
parent107ab83e618486603190cc07bed2eae1fb9ca06f (diff)
downloadu-boot-a832a3e36f5c76a23aa3f1cae477835859e9781f.zip
u-boot-a832a3e36f5c76a23aa3f1cae477835859e9781f.tar.gz
u-boot-a832a3e36f5c76a23aa3f1cae477835859e9781f.tar.bz2
dm: sound: max98095: Pass private data to internal functions
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 max98095_update_bits() to max98095_bic_or() which is more descriptive and shorter, thus breaking fewer lines with the parameter addition. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/wm8994.c')
0 files changed, 0 insertions, 0 deletions