summaryrefslogtreecommitdiff
path: root/board/cadence
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-03 04:37:24 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commit107ab83e618486603190cc07bed2eae1fb9ca06f (patch)
tree782f08f41500c7d1437fde13ac13580bd79671b9 /board/cadence
parent7153ad834f72da49eadf8b5e66d593f88514be7c (diff)
dm: sound: wm8994: 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 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>
Diffstat (limited to 'board/cadence')
0 files changed, 0 insertions, 0 deletions