diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-12 14:02:59 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-13 14:01:20 +0300 |
commit | 712440857e53e2887a5acf7769caa617d1e99b80 (patch) | |
tree | bde64ffbfbbbbefafc9e44cd8add791059bc1662 /drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | |
parent | 2efeec2d035ca4901ca5d53262c814935b730f44 (diff) | |
download | linux-712440857e53e2887a5acf7769caa617d1e99b80.tar.xz |
[media] mtk-vcodec: remove redundant dev_err call in mtk_vcodec_probe()
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c')
-rw-r--r-- | drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c index 60b0bde232f4..e277b7c23516 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c @@ -279,8 +279,6 @@ static int mtk_vcodec_probe(struct platform_device *pdev) } dev->reg_base[i] = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR((__force void *)dev->reg_base[i])) { - dev_err(&pdev->dev, - "devm_ioremap_resource %d failed.", i); ret = PTR_ERR((__force void *)dev->reg_base[i]); goto err_res; } |