aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorCosmin Tanislav <[email protected]>2025-05-07 12:19:10 +0000
committerWolfram Sang <[email protected]>2025-05-22 09:07:04 +0000
commit5efe815ad7355655f3a6ce9593530afd6ecc6d21 (patch)
tree0521757eef1d97619245320d12bdc8ba34248837 /drivers/fpga/tests/fpga-mgr-test.c
parenti2c: atr: split up i2c_atr_get_mapping_by_addr() (diff)
downloadkernel-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/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions