PCI: Whitespace cleanup
Fix various whitespace errors. No functional change. [bhelgaas: fix other similar problems] Signed-off-by: Ryan Desfosses <ryan@desfo.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
b7fe943421
commit
3c78bc61f5
45 changed files with 513 additions and 584 deletions
|
|
@ -563,7 +563,7 @@ static int first_slot_num (u8 slot_num, u8 first_slot, u8 var)
|
|||
return rc;
|
||||
}
|
||||
|
||||
static struct opt_rio_lo * find_rxe_num (u8 slot_num)
|
||||
static struct opt_rio_lo *find_rxe_num (u8 slot_num)
|
||||
{
|
||||
struct opt_rio_lo *opt_lo_ptr;
|
||||
|
||||
|
|
@ -575,7 +575,7 @@ static struct opt_rio_lo * find_rxe_num (u8 slot_num)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static struct opt_rio * find_chassis_num (u8 slot_num)
|
||||
static struct opt_rio *find_chassis_num (u8 slot_num)
|
||||
{
|
||||
struct opt_rio *opt_vg_ptr;
|
||||
|
||||
|
|
@ -593,7 +593,7 @@ static struct opt_rio * find_chassis_num (u8 slot_num)
|
|||
static u8 calculate_first_slot (u8 slot_num)
|
||||
{
|
||||
u8 first_slot = 1;
|
||||
struct slot * slot_cur;
|
||||
struct slot *slot_cur;
|
||||
|
||||
list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) {
|
||||
if (slot_cur->ctrl) {
|
||||
|
|
@ -607,7 +607,7 @@ static u8 calculate_first_slot (u8 slot_num)
|
|||
|
||||
#define SLOT_NAME_SIZE 30
|
||||
|
||||
static char *create_file_name (struct slot * slot_cur)
|
||||
static char *create_file_name (struct slot *slot_cur)
|
||||
{
|
||||
struct opt_rio *opt_vg_ptr = NULL;
|
||||
struct opt_rio_lo *opt_lo_ptr = NULL;
|
||||
|
|
@ -1192,7 +1192,7 @@ int ibmphp_register_pci (void)
|
|||
}
|
||||
return rc;
|
||||
}
|
||||
static int ibmphp_probe (struct pci_dev * dev, const struct pci_device_id *ids)
|
||||
static int ibmphp_probe (struct pci_dev *dev, const struct pci_device_id *ids)
|
||||
{
|
||||
struct controller *ctrl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue