Re: [PATCH] hwrng: xiphera-trng: use devm_platform_ioremap_resource() to simplify

2021-03-03 Thread Herbert Xu
On Tue, Feb 09, 2021 at 04:03:37PM +0800, Tian Tao wrote: > Use devm_platform_ioremap_resource() to simplify the code. > > Signed-off-by: Tian Tao > --- > drivers/char/hw_random/xiphera-trng.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert

[PATCH] hwrng: xiphera-trng: use devm_platform_ioremap_resource() to simplify

2021-02-09 Thread Tian Tao
Use devm_platform_ioremap_resource() to simplify the code. Signed-off-by: Tian Tao --- drivers/char/hw_random/xiphera-trng.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/char/hw_random/xiphera-trng.c b/drivers/char/hw_random/xiphera-trng.c index 7bdab8c..2a9fea