Re: [PATCH net-next] amd-xgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread David Miller
From: YueHaibing Date: Wed, 21 Aug 2019 20:32:03 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] amd-xgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Lendacky, Thomas
On 8/21/19 7:32 AM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Tom Lendacky > --- > drivers/net/ethernet/amd/xgbe/xgbe-platform.c | 19

[PATCH net-next] amd-xgbe: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/net/ethernet/amd/xgbe/xgbe-platform.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git