staging: vt6656: Align function parameters
authorSimon Sandström <simon@nikanor.nu>
Fri, 30 Jun 2017 21:38:53 +0000 (23:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:02 +0000 (08:41 +0200)
Fixes checkpatch.pl warnings "Alignment should match open parenthesis".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/key.h
drivers/staging/vt6656/rf.c
drivers/staging/vt6656/usbpipe.c

index 906d3454591d0674dff156422db6b0a683f1d2d1..cfc6c21315366898079a08c3d0eb49e7a14f9f50 100644 (file)
@@ -46,6 +46,6 @@
 int vnt_key_init_table(struct vnt_private *priv);
 
 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
-                 struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
+                struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
 
 #endif /* __KEY_H__ */
index 42ac86747b307d38654c6018f2085c03ebc5ec41..3a9d19a0b84284926ddab622fd8ae4ba2d85e15b 100644 (file)
@@ -611,7 +611,7 @@ int vnt_rf_write_embedded(struct vnt_private *priv, u32 data)
        reg_data[3] = (u8)(data >> 24);
 
        vnt_control_out(priv, MESSAGE_TYPE_WRITE_IFRF,
-                               0, 0, ARRAY_SIZE(reg_data), reg_data);
+                       0, 0, ARRAY_SIZE(reg_data), reg_data);
 
        return true;
 }
index dc11a05be8c43945f9fac1ab4745eaf1006569e7..23eaef45855629e052a84725109627be0f6bf0da 100644 (file)
@@ -44,7 +44,7 @@
 #define USB_CTL_WAIT   500 /* ms */
 
 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
-                    u16 index, u16 length, u8 *buffer)
+                   u16 index, u16 length, u8 *buffer)
 {
        int status = 0;
        u8 *usb_buffer;
@@ -82,7 +82,7 @@ void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data)
 }
 
 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
-                   u16 index, u16 length, u8 *buffer)
+                  u16 index, u16 length, u8 *buffer)
 {
        int status;
        u8 *usb_buffer;