Re: [PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-25 Thread Herbert Xu
On Wed, Feb 12, 2014 at 02:17:08PM +0900, Jingoo Han wrote: > Use devm_ioremap_resource() in order to make the code simpler, > and remove redundant return value check of platform_get_resource() > because the value is checked by devm_ioremap_resource(). > > Signed-off-by: Jingoo Han Both patches

Re: [PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-12 Thread Nicolas Ferre
On 12/02/2014 06:17, Jingoo Han : > Use devm_ioremap_resource() in order to make the code simpler, > and remove redundant return value check of platform_get_resource() > because the value is checked by devm_ioremap_resource(). > > Signed-off-by: Jingoo Han Acked-by: Nicolas Ferre Thanks! Bye,

Re: [PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-11 Thread Peter Korsgaard
> "Jingoo" == Jingoo Han writes: > Use devm_ioremap_resource() in order to make the code simpler, > and remove redundant return value check of platform_get_resource() > because the value is checked by devm_ioremap_resource(). > Signed-off-by: Jingoo Han Acked-by: Peter Korsgaard >

[PATCH 1/2] hwrng: atmel - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/char/hw_random/atmel-rng.c | 15 --- 1 file changed, 4 in