Commit 18e743e
irqdomain: Use irq_domain_instantiate()'s return value as initializers
This makes the code more compact.
Note that irq_domain_create_hierarchy()'s handling of size is now part of
info's initializer (using the ternary operator). That makes more sense
while reading it.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]1 parent 14ebb11 commit 18e743e
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | | - | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
| |||
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
427 | | - | |
| 426 | + | |
428 | 427 | | |
429 | | - | |
430 | 428 | | |
431 | 429 | | |
432 | 430 | | |
| |||
440 | 438 | | |
441 | 439 | | |
442 | 440 | | |
443 | | - | |
| 441 | + | |
444 | 442 | | |
445 | | - | |
446 | 443 | | |
447 | 444 | | |
448 | 445 | | |
| |||
554 | 551 | | |
555 | 552 | | |
556 | 553 | | |
557 | | - | |
| 554 | + | |
558 | 555 | | |
559 | 556 | | |
560 | 557 | | |
561 | 558 | | |
562 | 559 | | |
563 | | - | |
| 560 | + | |
564 | 561 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | 562 | | |
570 | 563 | | |
571 | 564 | | |
| |||
0 commit comments