Commit 0242632
i2c: atr: deduplicate logic in attach_addr()
This is the same logic as in i2c_atr_create_mapping_by_addr().
Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>1 parent 5efe815 commit 0242632
1 file changed
+6
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 541 | + | |
551 | 542 | | |
552 | 543 | | |
553 | 544 | | |
554 | | - | |
| 545 | + | |
555 | 546 | | |
556 | | - | |
557 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
558 | 550 | | |
559 | 551 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | 552 | | |
565 | | - | |
566 | | - | |
567 | | - | |
| 553 | + | |
568 | 554 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | 555 | | |
574 | 556 | | |
575 | 557 | | |
| |||
0 commit comments