Commit f19e069
committed
pmdomain: core: Manage the default required OPP from a separate function
JIRA: https://issues.redhat.com/browse/RHEL-75956
commit cf06fb6
Author: Ulf Hansson <ulf.hansson@linaro.org>
Date: Wed Oct 2 14:22:26 2024 +0200
pmdomain: core: Manage the default required OPP from a separate function
To improve the readability of the code in __genpd_dev_pm_attach(), let's
move out the required OPP handling into a separate function.
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20241002122232.194245-6-ulf.hansson@linaro.org
Signed-off-by: José Expósito <jexposit@redhat.com>1 parent d281799 commit f19e069
1 file changed
+25
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2903 | 2903 | | |
2904 | 2904 | | |
2905 | 2905 | | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
2906 | 2929 | | |
2907 | 2930 | | |
2908 | 2931 | | |
2909 | 2932 | | |
2910 | 2933 | | |
2911 | | - | |
2912 | 2934 | | |
2913 | 2935 | | |
2914 | 2936 | | |
| |||
2937 | 2959 | | |
2938 | 2960 | | |
2939 | 2961 | | |
2940 | | - | |
2941 | | - | |
2942 | | - | |
2943 | | - | |
| 2962 | + | |
| 2963 | + | |
2944 | 2964 | | |
2945 | | - | |
2946 | | - | |
2947 | | - | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | 2965 | | |
2952 | 2966 | | |
2953 | 2967 | | |
| |||
2969 | 2983 | | |
2970 | 2984 | | |
2971 | 2985 | | |
2972 | | - | |
2973 | | - | |
2974 | 2986 | | |
2975 | 2987 | | |
2976 | 2988 | | |
| |||
0 commit comments