linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: winbond: wb35tx_f.h Coding style fixes.
@ 2010-03-28  6:57 Lars Lindley
  2010-03-28 12:01 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Lindley @ 2010-03-28  6:57 UTC (permalink / raw)
  To: gregkh, greg, penberg, pavel; +Cc: devel, linux-kernel, Lars Lindley

I fixed the checkpatch.pl problems and converted the function
arguments away from CamelCase and hungarian notation.

Signed-off-by: Lars Lindley <lindley@coyote.org>
---
 drivers/staging/winbond/wb35tx_f.h |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/winbond/wb35tx_f.h b/drivers/staging/winbond/wb35tx_f.h
index a7af9cb..1d3b515 100644
--- a/drivers/staging/winbond/wb35tx_f.h
+++ b/drivers/staging/winbond/wb35tx_f.h
@@ -4,18 +4,20 @@
 #include "core.h"
 #include "wbhal_f.h"
 
-//====================================
-// Interface function declare
-//====================================
-unsigned char Wb35Tx_initial(	 struct hw_data * pHwData );
-void Wb35Tx_destroy(  struct hw_data * pHwData );
-unsigned char Wb35Tx_get_tx_buffer(  struct hw_data * pHwData,  u8 **pBuffer );
+/*
+ * ====================================
+ * Interface function declare
+ * ====================================
+ */
+unsigned char Wb35Tx_initial(struct hw_data *hw_data);
+void Wb35Tx_destroy(struct hw_data *hw_data);
+unsigned char Wb35Tx_get_tx_buffer(struct hw_data *hw_data, u8 **buffer);
 
 void Wb35Tx_EP2VM_start(struct wbsoft_priv *adapter);
 
 void Wb35Tx_start(struct wbsoft_priv *adapter);
-void Wb35Tx_stop(  struct hw_data * pHwData );
+void Wb35Tx_stop(struct hw_data *hw_data);
 
-void Wb35Tx_CurrentTime(struct wbsoft_priv *adapter,  u32 TimeCount);
+void Wb35Tx_CurrentTime(struct wbsoft_priv *adapter, u32 time_count);
 
 #endif
-- 
1.7.0.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: winbond: wb35tx_f.h Coding style fixes.
  2010-03-28  6:57 [PATCH] staging: winbond: wb35tx_f.h Coding style fixes Lars Lindley
@ 2010-03-28 12:01 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2010-03-28 12:01 UTC (permalink / raw)
  To: Lars Lindley; +Cc: gregkh, greg, penberg, devel, linux-kernel

On Sun 2010-03-28 08:57:55, Lars Lindley wrote:
> I fixed the checkpatch.pl problems and converted the function
> arguments away from CamelCase and hungarian notation.
> 
> Signed-off-by: Lars Lindley <lindley@coyote.org>

ack.

> ---
>  drivers/staging/winbond/wb35tx_f.h |   18 ++++++++++--------
>  1 files changed, 10 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/staging/winbond/wb35tx_f.h b/drivers/staging/winbond/wb35tx_f.h
> index a7af9cb..1d3b515 100644
> --- a/drivers/staging/winbond/wb35tx_f.h
> +++ b/drivers/staging/winbond/wb35tx_f.h
> @@ -4,18 +4,20 @@
>  #include "core.h"
>  #include "wbhal_f.h"
>  
> -//====================================
> -// Interface function declare
> -//====================================
> -unsigned char Wb35Tx_initial(	 struct hw_data * pHwData );
> -void Wb35Tx_destroy(  struct hw_data * pHwData );
> -unsigned char Wb35Tx_get_tx_buffer(  struct hw_data * pHwData,  u8 **pBuffer );
> +/*
> + * ====================================
> + * Interface function declare
> + * ====================================
> + */
> +unsigned char Wb35Tx_initial(struct hw_data *hw_data);
> +void Wb35Tx_destroy(struct hw_data *hw_data);
> +unsigned char Wb35Tx_get_tx_buffer(struct hw_data *hw_data, u8 **buffer);
>  
>  void Wb35Tx_EP2VM_start(struct wbsoft_priv *adapter);
>  
>  void Wb35Tx_start(struct wbsoft_priv *adapter);
> -void Wb35Tx_stop(  struct hw_data * pHwData );
> +void Wb35Tx_stop(struct hw_data *hw_data);
>  
> -void Wb35Tx_CurrentTime(struct wbsoft_priv *adapter,  u32 TimeCount);
> +void Wb35Tx_CurrentTime(struct wbsoft_priv *adapter, u32 time_count);
>  
>  #endif

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-28 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28  6:57 [PATCH] staging: winbond: wb35tx_f.h Coding style fixes Lars Lindley
2010-03-28 12:01 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).