Skip to content
Commit 49f1997a authored by YueHaibing's avatar YueHaibing Committed by Felipe Balbi
Browse files

usb: gadget: xudc: Remove redundant platform_get_irq error message



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.

Acked-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarNagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent a415083a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment