diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-03 04:37:25 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-13 16:32:49 -0700 |
commit | a832a3e36f5c76a23aa3f1cae477835859e9781f (patch) | |
tree | c0221e21500f35a7a3d7156b4e69093033a37462 /env | |
parent | 107ab83e618486603190cc07bed2eae1fb9ca06f (diff) | |
download | u-boot-a832a3e36f5c76a23aa3f1cae477835859e9781f.tar.gz |
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 'env')
0 files changed, 0 insertions, 0 deletions