commit | a832a3e36f5c76a23aa3f1cae477835859e9781f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 03 04:37:25 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 13 16:32:49 2018 -0700 |
tree | c0221e21500f35a7a3d7156b4e69093033a37462 | |
parent | 107ab83e618486603190cc07bed2eae1fb9ca06f [diff] |
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>