Re: [PATCH v2 0/3] Add managed ioremap function for shared resources

2018-01-24 Thread Andy Shevchenko
On Wed, Jan 24, 2018 at 12:06 PM, Ladislav Michl wrote: > Many drivers can simplified by using devm_ioremap_resource() > instead of open coding its functionality. However, as pointed > by Wei Yongjun, that function cannot be used when memory region > is already taken. See previous discussion here:

[PATCH v2 0/3] Add managed ioremap function for shared resources

2018-01-24 Thread Ladislav Michl
Many drivers can simplified by using devm_ioremap_resource() instead of open coding its functionality. However, as pointed by Wei Yongjun, that function cannot be used when memory region is already taken. See previous discussion here: https://www.spinics.net/lists/linux-pci/msg68495.html To ease j