Skip to content

Commit

Permalink
qed: align adjacent indent
Browse files Browse the repository at this point in the history
Remove extra indent on some of adjacent declarations.

Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Igor Russkikh authored and David S. Miller committed Aug 25, 2020
1 parent 27fed78 commit c5c642c
Showing 1 changed file with 33 additions and 36 deletions.
69 changes: 33 additions & 36 deletions include/linux/qed/qed_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -850,61 +850,58 @@ struct qed_common_ops {
struct qed_dev* (*probe)(struct pci_dev *dev,
struct qed_probe_params *params);

void (*remove)(struct qed_dev *cdev);
void (*remove)(struct qed_dev *cdev);

int (*set_power_state)(struct qed_dev *cdev,
pci_power_t state);
int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);

void (*set_name) (struct qed_dev *cdev, char name[]);

/* Client drivers need to make this call before slowpath_start.
* PF params required for the call before slowpath_start is
* documented within the qed_pf_params structure definition.
*/
void (*update_pf_params)(struct qed_dev *cdev,
struct qed_pf_params *params);
int (*slowpath_start)(struct qed_dev *cdev,
struct qed_slowpath_params *params);
void (*update_pf_params)(struct qed_dev *cdev,
struct qed_pf_params *params);

int (*slowpath_stop)(struct qed_dev *cdev);
int (*slowpath_start)(struct qed_dev *cdev,
struct qed_slowpath_params *params);

int (*slowpath_stop)(struct qed_dev *cdev);

/* Requests to use `cnt' interrupts for fastpath.
* upon success, returns number of interrupts allocated for fastpath.
*/
int (*set_fp_int)(struct qed_dev *cdev,
u16 cnt);
int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);

/* Fills `info' with pointers required for utilizing interrupts */
int (*get_fp_int)(struct qed_dev *cdev,
struct qed_int_info *info);

u32 (*sb_init)(struct qed_dev *cdev,
struct qed_sb_info *sb_info,
void *sb_virt_addr,
dma_addr_t sb_phy_addr,
u16 sb_id,
enum qed_sb_type type);

u32 (*sb_release)(struct qed_dev *cdev,
struct qed_sb_info *sb_info,
u16 sb_id,
enum qed_sb_type type);

void (*simd_handler_config)(struct qed_dev *cdev,
void *token,
int index,
void (*handler)(void *));

void (*simd_handler_clean)(struct qed_dev *cdev,
int index);
int (*dbg_grc)(struct qed_dev *cdev,
void *buffer, u32 *num_dumped_bytes);
int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);

u32 (*sb_init)(struct qed_dev *cdev,
struct qed_sb_info *sb_info,
void *sb_virt_addr,
dma_addr_t sb_phy_addr,
u16 sb_id,
enum qed_sb_type type);

u32 (*sb_release)(struct qed_dev *cdev,
struct qed_sb_info *sb_info,
u16 sb_id,
enum qed_sb_type type);

void (*simd_handler_config)(struct qed_dev *cdev,
void *token,
int index,
void (*handler)(void *));

void (*simd_handler_clean)(struct qed_dev *cdev, int index);

int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);

int (*dbg_grc_size)(struct qed_dev *cdev);

int (*dbg_all_data) (struct qed_dev *cdev, void *buffer);
int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);

int (*dbg_all_data_size) (struct qed_dev *cdev);
int (*dbg_all_data_size)(struct qed_dev *cdev);

int (*report_fatal_error)(struct devlink *devlink,
enum qed_hw_err_type err_type);
Expand Down

0 comments on commit c5c642c

Please sign in to comment.