diff options
author | Charles Keepax <[email protected]> | 2023-09-15 15:56:08 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-09-15 13:27:24 +0100 |
commit | fc46ecf34782c0d3ec8224ce6003a2631f8a93f1 (patch) | |
tree | e3808f91231e4809abfc5794eae2c8d7f0b7209f /lib/memory-notifier-error-inject.c | |
parent | 642d1de63cea161c629afd2e82d9db5a1582ffea (diff) |
ASoC: intel: sof_sdw: Move sdw_pin_index into private struct
Whilst it should not cause any issues as only a single instance of the
machine will be instantiated, it is still slightly better practice to
keep working data in the private data structure, rather than a global
variable. Move sdw_pin_index into the mc_private structure.
Signed-off-by: Charles Keepax <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions