diff options
| author | Cosmin Tanislav <[email protected]> | 2025-05-07 12:19:09 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-05-22 09:07:04 +0000 |
| commit | 5988589eb38124f6eb311ada0f92a0b68625659d (patch) | |
| tree | 769ee02d9dcf173b235e81e4294c631ec6e91aab /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | i2c: atr: find_mapping() -> get_mapping() (diff) | |
| download | kernel-5988589eb38124f6eb311ada0f92a0b68625659d.tar.gz kernel-5988589eb38124f6eb311ada0f92a0b68625659d.zip | |
i2c: atr: split up i2c_atr_get_mapping_by_addr()
The i2c_atr_get_mapping_by_addr() function handles three separate
usecases: finding an existing mapping, creating a new mapping, or
replacing an existing mapping if a new mapping cannot be created
because there aren't enough aliases available.
Split up the function into three different functions handling its
individual usecases to prepare for better usage of each one.
Signed-off-by: Cosmin Tanislav <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
