Skip to content

Commit

Permalink
usb: Fix various typo within usb
Browse files Browse the repository at this point in the history
Correct spelling typo within usb

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Masanari Iida authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent 6feff1b commit 1c1301d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/f_hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static int hidg_setup(struct usb_function *f,
break;

default:
VDBG(cdev, "Unknown decriptor request 0x%x\n",
VDBG(cdev, "Unknown descriptor request 0x%x\n",
value >> 8);
goto stall;
break;
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/host/ehci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ static int __devinit ehci_platform_probe(struct platform_device *dev)

irq = platform_get_irq(dev, 0);
if (irq < 0) {
pr_err("no irq provieded");
pr_err("no irq provided");
return irq;
}
res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
if (!res_mem) {
pr_err("no memory recourse provieded");
pr_err("no memory recourse provided");
return -ENXIO;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/fhci-tds.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem,
struct endpoint *ep;
struct usb_td __iomem *td;
unsigned long ep_offset;
char *err_for = "enpoint PRAM";
char *err_for = "endpoint PRAM";
int ep_mem_size;
u32 i;

Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/host/ohci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ static int __devinit ohci_platform_probe(struct platform_device *dev)

irq = platform_get_irq(dev, 0);
if (irq < 0) {
pr_err("no irq provieded");
pr_err("no irq provided");
return irq;
}

res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
if (!res_mem) {
pr_err("no memory recourse provieded");
pr_err("no memory recourse provided");
return -ENXIO;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-ppc-of.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_ppc_of_match);

#if !defined(CONFIG_USB_OHCI_HCD_PPC_OF_BE) && \
!defined(CONFIG_USB_OHCI_HCD_PPC_OF_LE)
#error "No endianess selected for ppc-of-ohci"
#error "No endianness selected for ppc-of-ohci"
#endif


Expand Down

0 comments on commit 1c1301d

Please sign in to comment.