Home
last modified time | relevance | path

Searched hist:"198 d4649b0b813bc9fc1605cfb843b6624518f92" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/firmware/tegra/
H A Dbpmp-tegra210.cdiff 198d4649b0b813bc9fc1605cfb843b6624518f92 Wed Oct 26 00:34:33 CDT 2022 Yang Li <yang.lee@linux.alibaba.com> firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname()

There is no need to call the dev_err() function directly to print a
custom message when handling an error from either the platform_get_irq()
or platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.

./drivers/firmware/tegra/bpmp-tegra210.c:204:2-9: line 204 is redundant
because platform_get_irq() already prints an error
./drivers/firmware/tegra/bpmp-tegra210.c:216:2-9: line 216 is redundant
because platform_get_irq() already prints an error

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2579
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>