]> git.baikalelectronics.ru Git - kernel.git/commitdiff
qed: align adjacent indent
authorIgor Russkikh <irusskikh@marvell.com>
Sun, 23 Aug 2020 11:19:33 +0000 (14:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:01:33 +0000 (18:01 -0700)
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>
include/linux/qed/qed_if.h

index a75533de918676fafd9558d4d19a472b97f4db12..56fa55841d39235ba1059462517069cdd841bf30 100644 (file)
@@ -850,10 +850,9 @@ 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[]);
 
@@ -861,50 +860,48 @@ struct qed_common_ops {
         * 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);