Commit d14f6f4
Bartosz Golaszewski
gpio: davinci: use devm_clk_get_enabled()
Simplify the code in error paths by using the managed variant of the
clock getter that controls the clock state as well.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240819151705.37258-2-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>1 parent d29e741 commit d14f6f4
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | 449 | | |
451 | 450 | | |
452 | 451 | | |
| |||
467 | 466 | | |
468 | 467 | | |
469 | 468 | | |
470 | | - | |
| 469 | + | |
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
474 | 473 | | |
475 | 474 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 475 | | |
481 | 476 | | |
482 | 477 | | |
483 | 478 | | |
484 | | - | |
485 | 479 | | |
486 | 480 | | |
487 | 481 | | |
| |||
490 | 484 | | |
491 | 485 | | |
492 | 486 | | |
493 | | - | |
494 | 487 | | |
495 | 488 | | |
496 | 489 | | |
| |||
559 | 552 | | |
560 | 553 | | |
561 | 554 | | |
562 | | - | |
563 | | - | |
| 555 | + | |
564 | 556 | | |
565 | | - | |
566 | 557 | | |
567 | 558 | | |
568 | 559 | | |
| |||
0 commit comments