Commit fddd8f8
committed
cpufreq: Split cpufreq_offline()
Split the "core" part running under the policy rwsem out of
cpufreq_offline() to allow the locking in cpufreq_remove_dev() to be
rearranged more easily.
As a side-effect this eliminates the unlock label that's not needed
any more.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>1 parent e1e962c commit fddd8f8
1 file changed
Lines changed: 19 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1577 | 1577 | | |
1578 | 1578 | | |
1579 | 1579 | | |
1580 | | - | |
| 1580 | + | |
1581 | 1581 | | |
1582 | | - | |
1583 | 1582 | | |
1584 | 1583 | | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | 1584 | | |
1596 | 1585 | | |
1597 | 1586 | | |
| |||
1609 | 1598 | | |
1610 | 1599 | | |
1611 | 1600 | | |
1612 | | - | |
| 1601 | + | |
1613 | 1602 | | |
1614 | 1603 | | |
1615 | 1604 | | |
| |||
1636 | 1625 | | |
1637 | 1626 | | |
1638 | 1627 | | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
1639 | 1645 | | |
1640 | | - | |
1641 | 1646 | | |
1642 | 1647 | | |
1643 | 1648 | | |
| |||
0 commit comments