Re: [PATCH v2 3/4] serial: mrst_max3110: some code cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Feng Tang <feng.tang@xxxxxxxxx> wrote:

> The cleanup for mrst_max3110 includes:
> * remove unneeded head files
> * make the spi_transfer dma safe, so that driver is more portable
> * add more check for error return value
> * use mutex_trylock for read thread
> 
> Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>
> Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
> ---
>  drivers/serial/mrst_max3110.c |  323 +++++++++++++++++++++++++----------------
>  drivers/serial/mrst_max3110.h |    1 +
>  2 files changed, 199 insertions(+), 125 deletions(-)
> 
> diff --git a/drivers/serial/mrst_max3110.c b/drivers/serial/mrst_max3110.c
> index f6ad1ec..880dce3 100644
> --- a/drivers/serial/mrst_max3110.c
> +++ b/drivers/serial/mrst_max3110.c
> @@ -1,7 +1,7 @@
>  /*
> - *  max3110.c - spi uart protocol driver for Maxim 3110 on Moorestown
> + *  mrst_max3110.c - spi uart protocol driver for Maxim 3110
>   *
> - *  Copyright (C) Intel 2008 Feng Tang <feng.tang@xxxxxxxxx>
> + * Copyright (c) 2010, Intel Corporation.

Just a small nit i noticed: please try to never remove old copyright 
notices (even if it's your own company's), but do something like:

> + * Copyright (c) 2008, 2010, Intel Corporation.

Or:

> + * Copyright (c) 2008-2010, Intel Corporation.

If Intel worked on it in 2009 too. (or whatever other copyright notice 
policy Intel has.)

( otherwise i suspect serial folks will review the rest of the patch, i 
  havent checked. )

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux