mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
hwrng: ks-sa - remove dev from struct ks_sa_rng
dev in struct ks_sa_rng is not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b8f836cbe1
commit
2db18098d5
@ -81,7 +81,6 @@ struct trng_regs {
|
||||
};
|
||||
|
||||
struct ks_sa_rng {
|
||||
struct device *dev;
|
||||
struct hwrng rng;
|
||||
struct clk *clk;
|
||||
struct regmap *regmap_cfg;
|
||||
@ -213,7 +212,6 @@ static int ks_sa_rng_probe(struct platform_device *pdev)
|
||||
if (!ks_sa_rng)
|
||||
return -ENOMEM;
|
||||
|
||||
ks_sa_rng->dev = dev;
|
||||
ks_sa_rng->rng = (struct hwrng) {
|
||||
.name = "ks_sa_hwrng",
|
||||
.init = ks_sa_rng_init,
|
||||
|
Loading…
Reference in New Issue
Block a user