commit | 761c2510283066324cab7859930777ee34cbca78 | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Tue Mar 07 15:14:47 2017 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Mar 08 14:01:12 2017 +0800 |
tree | a3008957bab912e6d500f0661f0bbb5197011429 | |
parent | 45c2fdde01299b02a6e3225e848598a3c1e55539 [diff] |
hwrng: omap - use devm_clk_get() instead of of_clk_get() The omap-rng driver currently uses of_clk_get() to get a reference to the clock, but never releases that reference. This commit fixes that by using devm_clk_get() instead. Fixes: 383212425c926 ("hwrng: omap - Add device variant for SafeXcel IP-76 found in Armada 8K") Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>