staging: sm750fb: function prototype argument should have an identifier name
authorArushi Singhal <arushisinghal19971997@gmail.com>
Mon, 13 Mar 2017 20:48:47 +0000 (02:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2017 23:57:53 +0000 (07:57 +0800)
function prototype arguments like 'struct vb_device_info *','unsigned
long' etc. should have an identifier name.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_display.h
drivers/staging/sm750fb/ddk750_mode.h
drivers/staging/sm750fb/ddk750_power.h
drivers/staging/sm750fb/sm750.h

index e2a3f84ca4c518b99f110a0019987f11949211a5..609bf742efffb271574860e88a9c78b7a6e833d9 100644 (file)
@@ -102,6 +102,6 @@ typedef enum _disp_output_t {
 }
 disp_output_t;
 
-void ddk750_setLogicalDispOut(disp_output_t);
+void ddk750_setLogicalDispOut(disp_output_t output);
 
 #endif
index 2183e664cf4b8defc6b346b55472db1dc1412909..6d204b8b4a01c4eda26dc2dbfa5b7a1686accd3f 100644 (file)
@@ -34,6 +34,6 @@ typedef struct _mode_parameter_t {
 }
 mode_parameter_t;
 
-int ddk750_setModeTiming(mode_parameter_t *, clock_type_t);
+int ddk750_setModeTiming(mode_parameter_t *parm, clock_type_t clock);
 
 #endif
index ec0b99d6a7add7f8a78622472452558a1214532f..44c4fc587e9690dae1b5194083dd428220707537 100644 (file)
@@ -14,7 +14,7 @@ DPMS_t;
               (peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
 }
 
-void ddk750_set_dpms(DPMS_t);
+void ddk750_set_dpms(DPMS_t state);
 void sm750_set_power_mode(unsigned int powerMode);
 void sm750_set_current_gate(unsigned int gate);
 
index 306711ed55f9a0d470d5173e24ab4d2f9197e32f..5b186dafedec81ac1d6390d099c68296336ee690 100644 (file)
@@ -184,8 +184,8 @@ static inline unsigned long ps_to_hz(unsigned int psvalue)
 }
 
 int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
-int hw_sm750_inithw(struct sm750_dev*, struct pci_dev *);
-void hw_sm750_initAccel(struct sm750_dev *);
+int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
+void hw_sm750_initAccel(struct sm750_dev *sm750_dev);
 int hw_sm750_deWait(void);
 int hw_sm750le_deWait(void);