[PATCH] mailbox: sun6i: Make use of the helper function devm_platform_ioremap_resource()

Samuel Holland samuel at sholland.org
Tue Sep 7 19:22:40 PDT 2021


On 9/7/21 2:42 AM, Cai Huoqing wrote:
> Use the devm_platform_ioremap_resource() helper instead of
> calling platform_get_resource() and devm_ioremap_resource()
> separately
> 
> Signed-off-by: Cai Huoqing <caihuoqing at baidu.com>
> ---
>  drivers/mailbox/sun6i-msgbox.c | 9 +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)

Reviewed-by: Samuel Holland <samuel at sholland.org>



More information about the linux-arm-kernel mailing list