OSDN Git Service

hwrng: stm32 - fix unbalanced pm_runtime_enable
authorLionel Debieve <lionel.debieve@st.com>
Mon, 1 Apr 2019 10:30:45 +0000 (12:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:21:34 +0000 (09:21 +0100)
commit5c28bbeb58d4b74c1642323668e35f6414580db9
treed4e21acbcaba666f3d203fad077cacd6f9886b72
parent9510194763e08f9823e1340e52ad3d9b44864f8e
hwrng: stm32 - fix unbalanced pm_runtime_enable

commit af0d4442dd6813de6e77309063beb064fa8e89ae upstream.

No remove function implemented yet in the driver.
Without remove function, the pm_runtime implementation
complains when removing and probing again the driver.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/hw_random/stm32-rng.c