Re: [PATCH 1/2] mcb: Replace ioremap and request_region with the devm version

2016-04-20 Thread Johannes Thumshirn
On Wed, Apr 20, 2016 at 03:17:55PM +0200, Andreas Werner wrote: > Replaced ioremap with devm_ioremap and request_mem_region with > devm_request_mem_region. This makes the code much more cleaner. > > Signed-off-by: Andreas Werner > --- > drivers/mcb/mcb-pci.c | 19 +++ > 1 file ch

[PATCH 1/2] mcb: Replace ioremap and request_region with the devm version

2016-04-20 Thread Andreas Werner
Replaced ioremap with devm_ioremap and request_mem_region with devm_request_mem_region. This makes the code much more cleaner. Signed-off-by: Andreas Werner --- drivers/mcb/mcb-pci.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/mcb/mcb-pci.c b/