Commit c05d0b3
regulator: sy7636a: fix lifecycle of power good gpio
Attach the power good gpio to the regulator device devres instead of the
parent device to fix problems if probe is run multiple times
(rmmod/insmod or some deferral).
Fixes: 8c485be ("regulator: sy7636a: Initial commit")
Signed-off-by: Andreas Kemnade <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Mark Brown <[email protected]>1 parent b320789 commit c05d0b3
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments