Commit 5363073
spi: spi-sn-f-ospi: Use devm_clk_get_enabled()
Replace the combination of devm_clk_get_enable() plus clk_prepare_enable()
with devm_clk_get_enabled(). Slightly reduces the amount of boilerplate
code.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230528195830.164669-1-lars@metafoo.de
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 3e39448 commit 5363073
1 file changed
Lines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | 643 | | |
650 | 644 | | |
651 | 645 | | |
| |||
661 | 655 | | |
662 | 656 | | |
663 | 657 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | 658 | | |
668 | 659 | | |
669 | 660 | | |
| |||
674 | 665 | | |
675 | 666 | | |
676 | 667 | | |
677 | | - | |
678 | | - | |
679 | 668 | | |
680 | 669 | | |
681 | 670 | | |
| |||
0 commit comments