Re: [PATCH] drm/vc4: Make use of the helper function devm_platform_ioremap_resource()

2021-09-01 Thread Maxime Ripard
On Tue, Aug 31, 2021 at 09:59:03PM +0800, 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 Applied, thanks Maxime signature.asc Description: PGP signature

[PATCH] drm/vc4: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Cai Huoqing
Use the devm_platform_ioremap_resource() helper instead of calling platform_get_resource() and devm_ioremap_resource() separately Signed-off-by: Cai Huoqing --- drivers/gpu/drm/vc4/vc4_drv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b