diff options
| author | Cosmin Tanislav <[email protected]> | 2025-05-07 12:19:10 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-05-22 09:07:04 +0000 |
| commit | 5efe815ad7355655f3a6ce9593530afd6ecc6d21 (patch) | |
| tree | 0521757eef1d97619245320d12bdc8ba34248837 /drivers/fpga/tests | |
| parent | i2c: atr: split up i2c_atr_get_mapping_by_addr() (diff) | |
| download | kernel-5efe815ad7355655f3a6ce9593530afd6ecc6d21.tar.gz kernel-5efe815ad7355655f3a6ce9593530afd6ecc6d21.zip | |
i2c: atr: do not create mapping in detach_addr()
It is useless to create a new mapping just to detach it immediately.
Use the newly added i2c_atr_find_mapping_by_addr() function to avoid it,
and exit without logging an error if not found.
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')
0 files changed, 0 insertions, 0 deletions
