[PATCH 2/2] staging: comedi/drivers/pcl.* coding style fixes

Ian Abbott abbotti at mev.co.uk
Tue May 26 09:34:56 UTC 2015


On 26/05/2015 00:41, Matthew Needes wrote:
> pcl812.c (resend of earlier patch)
>      Fixed lines exceeding 80 columns, correcting some spelling in process
>
> Signed-off-by: Matthew Needes <mneedes at gmail.com>
> ---
>   drivers/staging/comedi/drivers/pcl812.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/pcl812.c b/drivers/staging/comedi/drivers/pcl812.c
> index 7474ef9..48f6cdf 100644
> --- a/drivers/staging/comedi/drivers/pcl812.c
> +++ b/drivers/staging/comedi/drivers/pcl812.c
> @@ -507,11 +507,11 @@ static const struct pcl812_board boardtypes[] = {
>
>   struct pcl812_private {
>   	struct comedi_isadma *dma;
> -	unsigned char range_correction;	/*  =1 we must add 1 to range number */
> +	unsigned char range_correction;	/* =1 we must add 1 to range number */
>   	unsigned int last_ai_chanspec;
> -	unsigned char mode_reg_int;	/*  there is stored INT number for some card */
> -	unsigned int ai_poll_ptr;	/*  how many sampes transfer poll */
> -	unsigned int max_812_ai_mode0_rangewait;	/*  setling time for gain */
> +	unsigned char mode_reg_int; /* stored INT number for some cards */
> +	unsigned int ai_poll_ptr; /* how many samples transfer poll */
> +	unsigned int max_812_ai_mode0_rangewait; /* settling time for gain */
>   	unsigned int use_diff:1;
>   	unsigned int use_mpc508:1;
>   	unsigned int use_ext_trg:1;
>

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list