Commit f64f610
pmdomain: core: add dummy release function to genpd device
The genpd device, which is really only used as a handle to lookup
OPP, but not even registered to the device core otherwise and thus
lifetime linked to the genpd struct it is contained in, is missing
a release function. After b8f7bbd ("pmdomain: core: Add
missing put_device()") the device will be cleaned up going through
the driver core device_release() function, which will warn when no
release callback is present for the device. Add a dummy release
function to shut up the warning.
Signed-off-by: Lucas Stach <[email protected]>
Tested-by: Luca Ceresoli <[email protected]>
Fixes: b8f7bbd ("pmdomain: core: Add missing put_device()")
Cc: [email protected]
Message-ID: <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>1 parent 469c068 commit f64f610
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2142 | 2142 | | |
2143 | 2143 | | |
2144 | 2144 | | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
2145 | 2150 | | |
2146 | 2151 | | |
2147 | 2152 | | |
| |||
2173 | 2178 | | |
2174 | 2179 | | |
2175 | 2180 | | |
| 2181 | + | |
2176 | 2182 | | |
2177 | 2183 | | |
2178 | 2184 | | |
| |||
0 commit comments