Commit 8f2ef26
committed
Input: zforce_ts - switch to using devm_regulator_get_enable()
The driver does not actively manage regulator state past probe() time,
so we can use devm_regulator_get_enable() to simplify the code.
Tested-by: Andreas Kemnade <[email protected]> # Tolino Shine2HD
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>1 parent 16ff022 commit 8f2ef26
1 file changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | 110 | | |
113 | 111 | | |
114 | 112 | | |
| |||
675 | 673 | | |
676 | 674 | | |
677 | 675 | | |
678 | | - | |
679 | 676 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | 677 | | |
684 | 678 | | |
685 | 679 | | |
| |||
742 | 736 | | |
743 | 737 | | |
744 | 738 | | |
745 | | - | |
746 | | - | |
| 739 | + | |
747 | 740 | | |
748 | 741 | | |
749 | 742 | | |
750 | 743 | | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | 744 | | |
756 | 745 | | |
757 | 746 | | |
| |||
0 commit comments