Commit aee0bda8 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: cxt1e1: Fix no spaces at the start of a line in hwprobe.c

clean up checkpatch.pl warnings:
WARNING: please no spaces at the start of a line in
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37cc9913
......@@ -52,7 +52,8 @@ show_two(hdw_info_t *hi, int brdno)
char banner[80];
char sn[6];
memset(banner, 0, 80); /* clear print buffer */
/* clear print buffer */
memset(banner, 0, 80);
ci = (ci_t *)(netdev_priv(hi->ndev));
bid = sbeid_get_bdname(ci);
......@@ -82,15 +83,15 @@ show_two(hdw_info_t *hi, int brdno)
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
hi->devname, "MUSYCC",
(unsigned long) hi->addr_mapped[0], hi->addr[0],
hi->pci_busno, (u_int8_t)PCI_SLOT(pdev->devfn),
(u_int8_t)PCI_FUNC(pdev->devfn), pdev->irq);
hi->pci_busno, (u_int8_t) PCI_SLOT(pdev->devfn),
(u_int8_t) PCI_FUNC(pdev->devfn), pdev->irq);
pdev = hi->pdev[1];
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
hi->devname, "EBUS ",
(unsigned long) hi->addr_mapped[1], hi->addr[1],
hi->pci_busno, (u_int8_t)PCI_SLOT(pdev->devfn),
(u_int8_t)PCI_FUNC(pdev->devfn), pdev->irq);
hi->pci_busno, (u_int8_t) PCI_SLOT(pdev->devfn),
(u_int8_t) PCI_FUNC(pdev->devfn), pdev->irq);
}
......@@ -144,7 +145,7 @@ hdw_sn_get(hdw_info_t *hi, int brdno)
}
void __init
void __init
prep_hdw_info(void)
{
hdw_info_t *hi;
......@@ -228,6 +229,7 @@ c4_hdw_init(struct pci_dev *pdev, int found)
pr_warning("unexpected devfun: 0x%x\n", pdev->devfn);
return 0;
}
if (pdev->bus) /* obtain bus number */
busno = pdev->bus->number;
else
......@@ -287,7 +289,6 @@ c4_hdw_init(struct pci_dev *pdev, int found)
return 1;
}
status_t __init
c4hw_attach_all(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment