usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 18 Apr 2016 07:53:38 +0000 (16:53 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 19 Apr 2016 08:11:53 +0000 (11:11 +0300)
commit5096c4d3bfa75bdd23c78f799aabd08598afb48f
tree020605cbf59650b0f9fecbb8cbedf2b05510e2ca
parent4e9f311833a946e984c82086b21b128918f4a6a4
usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()

The argument of dev_err() in usb_gadget_map_request() should be dev
instead of &gadget->dev.

Fixes: 7ace8fc ("usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU")
Cc: <stable@vger.kernel.org> # v4.3+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
drivers/usb/gadget/udc/udc-core.c