commit | fd7d697560e29856ac8fa175d2e68cdcb533b6d5 | [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 | e9be4cf0dcbcdc3b23ee2278165d7658791de6ea [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>