Re: [PATCH -next] char: xillybus: use devm_platform_ioremap_resource() to simplify code

2019-10-16 Thread Eli Billauer
Hello, Thanks for the patch. I have to admit that this goes slightly against my instinct not to touch code that works. But I'll leave the tradeoff to people who know better than me. Anyhow, I've verified that it compiles well, and the functional equivalence is quite obvious. Regards, E

[PATCH -next] char: xillybus: use devm_platform_ioremap_resource() to simplify code

2019-10-16 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/char/xillybus/xillybus_of.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/char/xillybus/xillybus_of.c b/drivers/char/xillybus/