Commit a181b8d
i2c: davinci: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. This change is just to simplify the code, no
actual functional changes.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Wolfram Sang <wsa@kernel.org>1 parent 5692900 commit a181b8d
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | 545 | | |
547 | 546 | | |
548 | 547 | | |
| |||
821 | 820 | | |
822 | 821 | | |
823 | 822 | | |
824 | | - | |
| 823 | + | |
825 | 824 | | |
826 | 825 | | |
827 | | - | |
828 | 826 | | |
829 | 827 | | |
830 | 828 | | |
| |||
898 | 896 | | |
899 | 897 | | |
900 | 898 | | |
901 | | - | |
902 | | - | |
903 | | - | |
| 899 | + | |
| 900 | + | |
904 | 901 | | |
905 | | - | |
906 | 902 | | |
907 | 903 | | |
908 | 904 | | |
| |||
0 commit comments