Re: [PATCH] devres: use MACRO instead of function for devm_ioremap_nocache

2017-11-20 Thread Yisheng Xie
On 2017/11/20 17:32, Yisheng Xie wrote: > Default ioremap is ioremap_nocache, so devm_ioremap has the same function > with devm_ioremap_nocache, which may just be killed. However, there > are many places which use devm_ioremap_nocache instead of devm_ioremap. > > This patch is to use MACRO for

Re: [PATCH] devres: use MACRO instead of function for devm_ioremap_nocache

2017-11-20 Thread Yisheng Xie
On 2017/11/20 17:32, Yisheng Xie wrote: > Default ioremap is ioremap_nocache, so devm_ioremap has the same function > with devm_ioremap_nocache, which may just be killed. However, there > are many places which use devm_ioremap_nocache instead of devm_ioremap. > > This patch is to use MACRO for

[PATCH] devres: use MACRO instead of function for devm_ioremap_nocache

2017-11-20 Thread Yisheng Xie
Define ioremap is ioremap_nocache, so devm_ioremap has the same function with devm_ioremap_nocache, which may just be killed. However, there are many places which use devm_ioremap_nocache instead of devm_ioremap. This patch is to use MACRO for devm_ioremap_nocache, which will reduce the size of

[PATCH] devres: use MACRO instead of function for devm_ioremap_nocache

2017-11-20 Thread Yisheng Xie
Define ioremap is ioremap_nocache, so devm_ioremap has the same function with devm_ioremap_nocache, which may just be killed. However, there are many places which use devm_ioremap_nocache instead of devm_ioremap. This patch is to use MACRO for devm_ioremap_nocache, which will reduce the size of