Skip to content

Commit a073a82

Browse files
kkaneshigegregkh
authored andcommitted
pciehp: remove trailing whitespace from pciehp_core.c
Remove trailing whitespaces from pciehp_core.c. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 71ad556 commit a073a82

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎drivers/pci/hotplug/pciehp_core.c‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
304304
dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
305305

306306
hotplug_slot->info->attention_status = status;
307-
308-
if (ATTN_LED(slot->ctrl->ctrlcap))
307+
308+
if (ATTN_LED(slot->ctrl->ctrlcap))
309309
slot->hpc_ops->set_attention_status(slot, status);
310310

311311
return 0;
@@ -405,7 +405,7 @@ static int get_max_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_spe
405405
int retval;
406406

407407
dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
408-
408+
409409
retval = slot->hpc_ops->get_max_bus_speed(slot, value);
410410
if (retval < 0)
411411
*value = PCI_SPEED_UNKNOWN;
@@ -419,7 +419,7 @@ static int get_cur_bus_speed(struct hotplug_slot *hotplug_slot, enum pci_bus_spe
419419
int retval;
420420

421421
dbg("%s - physical_slot = %s\n", __FUNCTION__, hotplug_slot->name);
422-
422+
423423
retval = slot->hpc_ops->get_cur_bus_speed(slot, value);
424424
if (retval < 0)
425425
*value = PCI_SPEED_UNKNOWN;
@@ -434,7 +434,7 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
434434
struct slot *t_slot;
435435
u8 value;
436436
struct pci_dev *pdev;
437-
437+
438438
ctrl = kzalloc(sizeof(*ctrl), GFP_KERNEL);
439439
if (!ctrl) {
440440
err("%s : out of memory\n", __FUNCTION__);
@@ -502,23 +502,23 @@ static void pciehp_remove (struct pcie_device *dev)
502502
#ifdef CONFIG_PM
503503
static int pciehp_suspend (struct pcie_device *dev, pm_message_t state)
504504
{
505-
printk("%s ENTRY\n", __FUNCTION__);
505+
printk("%s ENTRY\n", __FUNCTION__);
506506
return 0;
507507
}
508508

509509
static int pciehp_resume (struct pcie_device *dev)
510510
{
511-
printk("%s ENTRY\n", __FUNCTION__);
511+
printk("%s ENTRY\n", __FUNCTION__);
512512
return 0;
513513
}
514514
#endif
515515

516-
static struct pcie_port_service_id port_pci_ids[] = { {
517-
.vendor = PCI_ANY_ID,
516+
static struct pcie_port_service_id port_pci_ids[] = { {
517+
.vendor = PCI_ANY_ID,
518518
.device = PCI_ANY_ID,
519519
.port_type = PCIE_ANY_PORT,
520520
.service_type = PCIE_PORT_SERVICE_HP,
521-
.driver_data = 0,
521+
.driver_data = 0,
522522
}, { /* end: all zeroes */ }
523523
};
524524
static const char device_name[] = "hpdriver";

0 commit comments

Comments
 (0)