Commit 4f59540
cpufreq: amd-pstate: simplify cpudata pointer assignment
move the cpudata assignment to cpudata declaration which
will simplify the functions.
No functional change intended.
Reviewed-by: Huang Rui <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Perry Yuan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>1 parent 45fa444 commit 4f59540
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
559 | | - | |
560 | | - | |
| 558 | + | |
561 | 559 | | |
562 | 560 | | |
563 | 561 | | |
| |||
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | | - | |
603 | | - | |
604 | | - | |
| 600 | + | |
605 | 601 | | |
606 | 602 | | |
607 | 603 | | |
| |||
614 | 610 | | |
615 | 611 | | |
616 | 612 | | |
617 | | - | |
618 | | - | |
619 | | - | |
| 613 | + | |
620 | 614 | | |
621 | 615 | | |
622 | 616 | | |
| |||
0 commit comments