Skip to content

Commit c5c642c

Browse files
caildavem330
authored andcommitted
qed: align adjacent indent
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>
1 parent 27fed78 commit c5c642c

1 file changed

Lines changed: 33 additions & 36 deletions

File tree

‎include/linux/qed/qed_if.h‎

Lines changed: 33 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -850,61 +850,58 @@ struct qed_common_ops {
850850
struct qed_dev* (*probe)(struct pci_dev *dev,
851851
struct qed_probe_params *params);
852852

853-
void (*remove)(struct qed_dev *cdev);
853+
void (*remove)(struct qed_dev *cdev);
854854

855-
int (*set_power_state)(struct qed_dev *cdev,
856-
pci_power_t state);
855+
int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
857856

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

860859
/* Client drivers need to make this call before slowpath_start.
861860
* PF params required for the call before slowpath_start is
862861
* documented within the qed_pf_params structure definition.
863862
*/
864-
void (*update_pf_params)(struct qed_dev *cdev,
865-
struct qed_pf_params *params);
866-
int (*slowpath_start)(struct qed_dev *cdev,
867-
struct qed_slowpath_params *params);
863+
void (*update_pf_params)(struct qed_dev *cdev,
864+
struct qed_pf_params *params);
868865

869-
int (*slowpath_stop)(struct qed_dev *cdev);
866+
int (*slowpath_start)(struct qed_dev *cdev,
867+
struct qed_slowpath_params *params);
868+
869+
int (*slowpath_stop)(struct qed_dev *cdev);
870870

871871
/* Requests to use `cnt' interrupts for fastpath.
872872
* upon success, returns number of interrupts allocated for fastpath.
873873
*/
874-
int (*set_fp_int)(struct qed_dev *cdev,
875-
u16 cnt);
874+
int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);
876875

877876
/* Fills `info' with pointers required for utilizing interrupts */
878-
int (*get_fp_int)(struct qed_dev *cdev,
879-
struct qed_int_info *info);
880-
881-
u32 (*sb_init)(struct qed_dev *cdev,
882-
struct qed_sb_info *sb_info,
883-
void *sb_virt_addr,
884-
dma_addr_t sb_phy_addr,
885-
u16 sb_id,
886-
enum qed_sb_type type);
887-
888-
u32 (*sb_release)(struct qed_dev *cdev,
889-
struct qed_sb_info *sb_info,
890-
u16 sb_id,
891-
enum qed_sb_type type);
892-
893-
void (*simd_handler_config)(struct qed_dev *cdev,
894-
void *token,
895-
int index,
896-
void (*handler)(void *));
897-
898-
void (*simd_handler_clean)(struct qed_dev *cdev,
899-
int index);
900-
int (*dbg_grc)(struct qed_dev *cdev,
901-
void *buffer, u32 *num_dumped_bytes);
877+
int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);
878+
879+
u32 (*sb_init)(struct qed_dev *cdev,
880+
struct qed_sb_info *sb_info,
881+
void *sb_virt_addr,
882+
dma_addr_t sb_phy_addr,
883+
u16 sb_id,
884+
enum qed_sb_type type);
885+
886+
u32 (*sb_release)(struct qed_dev *cdev,
887+
struct qed_sb_info *sb_info,
888+
u16 sb_id,
889+
enum qed_sb_type type);
890+
891+
void (*simd_handler_config)(struct qed_dev *cdev,
892+
void *token,
893+
int index,
894+
void (*handler)(void *));
895+
896+
void (*simd_handler_clean)(struct qed_dev *cdev, int index);
897+
898+
int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
902899

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

905-
int (*dbg_all_data) (struct qed_dev *cdev, void *buffer);
902+
int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);
906903

907-
int (*dbg_all_data_size) (struct qed_dev *cdev);
904+
int (*dbg_all_data_size)(struct qed_dev *cdev);
908905

909906
int (*report_fatal_error)(struct devlink *devlink,
910907
enum qed_hw_err_type err_type);

0 commit comments

Comments
 (0)