mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
soc: mediatek: mtk-svs: Remove redundant print in svs_get_efuse_data
Callers of svs_get_efuse_data() are already printing an error in case anything goes wrong, and the error print for nvmem_cell_read() failure is redundant: remove it. Link: https://lore.kernel.org/r/20231121125044.78642-14-angelogioacchino.delregno@collabora.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
parent
947f4252e2
commit
a60641b0dd
|
|
@ -1822,8 +1822,6 @@ static int svs_get_efuse_data(struct svs_platform *svsp,
|
|||
|
||||
*svsp_efuse = nvmem_cell_read(cell, svsp_efuse_max);
|
||||
if (IS_ERR(*svsp_efuse)) {
|
||||
dev_err(svsp->dev, "cannot read \"%s\" efuse: %ld\n",
|
||||
nvmem_cell_name, PTR_ERR(*svsp_efuse));
|
||||
nvmem_cell_put(cell);
|
||||
return PTR_ERR(*svsp_efuse);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user