hwrng: exynos - Disable runtime PM on probe failure
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Mar 2016 00:07:14 +0000 (09:07 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Apr 2016 12:35:43 +0000 (20:35 +0800)
commit48a61e1e2af8020f11a2b8f8dc878144477623c6
tree957f71a6d2ca9bed7d9fc134dd46577b7fc5d8a4
parentf1925d78d7b710a1179828d53e918295f5f5d222
hwrng: exynos - Disable runtime PM on probe failure

Add proper error path (for disabling runtime PM) when registering of
hwrng fails.

Fixes: b329669ea0b5 ("hwrng: exynos - Add support for Exynos random number generator")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/exynos-rng.c