Home
last modified time | relevance | path

Searched hist:ae6062c4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/remoteproc/
H A Dmtk_scp.cae6062c4 Mon Jan 24 06:09:15 CST 2022 AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> remoteproc: mtk_scp: Use dev_err_probe() where possible

Simplify the probe function, where possible, by using dev_err_probe().
While at it, as to increase human readability, also remove some
unnecessary forced void pointer casts that were previously used in
error checking.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220124120915.41292-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>