On Sun, Jul 29, 2012 at 10:06:32PM +0800, Baodong Chen wrote: > Fixed code to fix tty_driver's kref field > Coding style issues > > Signed-off-by: Baodong Chen <chenbdchenbd@xxxxxxxxx> Hi Baodong. As already pointed out by Jiri please split this up in several patches. [PATCH 1/x] staging:net:pc300: fix white space usage [PATCH 2/x] staging:net:pc300: add proper kref support [PATCH 3/x] staging:net:pc300: use pr_dev [PATCH 4/x] staging:net:pc300: drop use of CPC_TTY_LOCK/CPC_TTY_UNLOCK macros etc... The latter two is not impleted yet but proposals for further cleanups. Sam > --- > drivers/staging/net/pc300_tty.c | 123 ++++++++++++++++++++------------------ > 1 files changed, 65 insertions(+), 58 deletions(-) > > diff --git a/drivers/staging/net/pc300_tty.c b/drivers/staging/net/pc300_tty.c > index 4709f42..8a7277c 100644 > --- a/drivers/staging/net/pc300_tty.c > +++ b/drivers/staging/net/pc300_tty.c > > - cpc_tty = (st_cpc_tty_area *) tty->driver_data; > + cpc_tty = (st_cpc_tty_area *) tty->driver_data; ^drop space _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel