PCI: Remove unnecessary space before function pointer arguments
Make spacing more consistent in the code for function pointer declarations based on checkpatch.pl. Signed-off-by: Benjamin Young <youngcdev@gmail.com> [bhelgaas: make similar changes in include/linux/pci.h] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
c9094db02a
commit
7cb3026411
|
@ -71,19 +71,19 @@ static inline void *get_service_data(struct pcie_device *dev)
|
||||||
|
|
||||||
struct pcie_port_service_driver {
|
struct pcie_port_service_driver {
|
||||||
const char *name;
|
const char *name;
|
||||||
int (*probe) (struct pcie_device *dev);
|
int (*probe)(struct pcie_device *dev);
|
||||||
void (*remove) (struct pcie_device *dev);
|
void (*remove)(struct pcie_device *dev);
|
||||||
int (*suspend) (struct pcie_device *dev);
|
int (*suspend)(struct pcie_device *dev);
|
||||||
int (*resume_noirq) (struct pcie_device *dev);
|
int (*resume_noirq)(struct pcie_device *dev);
|
||||||
int (*resume) (struct pcie_device *dev);
|
int (*resume)(struct pcie_device *dev);
|
||||||
int (*runtime_suspend) (struct pcie_device *dev);
|
int (*runtime_suspend)(struct pcie_device *dev);
|
||||||
int (*runtime_resume) (struct pcie_device *dev);
|
int (*runtime_resume)(struct pcie_device *dev);
|
||||||
|
|
||||||
/* Device driver may resume normal operations */
|
/* Device driver may resume normal operations */
|
||||||
void (*error_resume)(struct pci_dev *dev);
|
void (*error_resume)(struct pci_dev *dev);
|
||||||
|
|
||||||
/* Link Reset Capability - AER service driver specific */
|
/* Link Reset Capability - AER service driver specific */
|
||||||
pci_ers_result_t (*reset_link) (struct pci_dev *dev);
|
pci_ers_result_t (*reset_link)(struct pci_dev *dev);
|
||||||
|
|
||||||
int port_type; /* Type of the port this driver can handle */
|
int port_type; /* Type of the port this driver can handle */
|
||||||
u32 service; /* Port service this device represents */
|
u32 service; /* Port service this device represents */
|
||||||
|
|
|
@ -764,9 +764,9 @@ struct pci_driver {
|
||||||
int (*suspend)(struct pci_dev *dev, pm_message_t state); /* Device suspended */
|
int (*suspend)(struct pci_dev *dev, pm_message_t state); /* Device suspended */
|
||||||
int (*suspend_late)(struct pci_dev *dev, pm_message_t state);
|
int (*suspend_late)(struct pci_dev *dev, pm_message_t state);
|
||||||
int (*resume_early)(struct pci_dev *dev);
|
int (*resume_early)(struct pci_dev *dev);
|
||||||
int (*resume) (struct pci_dev *dev); /* Device woken up */
|
int (*resume)(struct pci_dev *dev); /* Device woken up */
|
||||||
void (*shutdown) (struct pci_dev *dev);
|
void (*shutdown)(struct pci_dev *dev);
|
||||||
int (*sriov_configure) (struct pci_dev *dev, int num_vfs); /* On PF */
|
int (*sriov_configure)(struct pci_dev *dev, int num_vfs); /* On PF */
|
||||||
const struct pci_error_handlers *err_handler;
|
const struct pci_error_handlers *err_handler;
|
||||||
const struct attribute_group **groups;
|
const struct attribute_group **groups;
|
||||||
struct device_driver driver;
|
struct device_driver driver;
|
||||||
|
|
Loading…
Reference in New Issue