usb: gadget: xudc: Remove redundant platform_get_irq error message
authorYueHaibing <yuehaibing@huawei.com>
Thu, 16 Jan 2020 14:14:33 +0000 (22:14 +0800)
committerFelipe Balbi <balbi@kernel.org>
Sun, 15 Mar 2020 09:06:39 +0000 (11:06 +0200)
commit49f1997ad2e2e2d05917146e94dcb0ad600b866a
tree204660d40857f277a08b454f8891451bbb7a6090
parenta415083a11cc76f85322406fb91e2eb917c6cef9
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: Thierry Reding <treding@nvidia.com>
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/tegra-xudc.c