Commit df660f6
committed
pinctrl: baytrail: Make use of pm_ptr()
Cleaning up the driver to use pm_ptr() and *_PM_OPS() macros that
make it simpler and allows the compiler to remove those functions
if built without CONFIG_PM and CONFIG_PM_SLEEP support.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20230717172821.62827-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>1 parent 34393c3 commit df660f6
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1659 | 1659 | | |
1660 | 1660 | | |
1661 | 1661 | | |
1662 | | - | |
1663 | 1662 | | |
1664 | 1663 | | |
1665 | 1664 | | |
| |||
1743 | 1742 | | |
1744 | 1743 | | |
1745 | 1744 | | |
1746 | | - | |
1747 | 1745 | | |
1748 | | - | |
1749 | 1746 | | |
1750 | 1747 | | |
1751 | 1748 | | |
| |||
1755 | 1752 | | |
1756 | 1753 | | |
1757 | 1754 | | |
1758 | | - | |
1759 | 1755 | | |
1760 | 1756 | | |
1761 | | - | |
1762 | | - | |
1763 | | - | |
| 1757 | + | |
| 1758 | + | |
1764 | 1759 | | |
1765 | 1760 | | |
1766 | 1761 | | |
1767 | 1762 | | |
1768 | 1763 | | |
1769 | 1764 | | |
1770 | | - | |
| 1765 | + | |
1771 | 1766 | | |
1772 | 1767 | | |
1773 | 1768 | | |
| |||
0 commit comments