OSDN Git Service

gpu: host1x: Remove dev_err() on platform_get_irq() failure
authorYueHaibing <yuehaibing@huawei.com>
Sat, 2 Nov 2019 07:57:44 +0000 (15:57 +0800)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 16:05:12 +0000 (17:05 +0100)
commit033ccdb7f6b11701623507339646013b4ce389d3
tree2108418363b734ee06dda094601634a2396a0991
parent271502efbd3a9812f3d02230ff823b73141c6b39
gpu: host1x: Remove dev_err() on platform_get_irq() failure

platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.c