[Linux-parport] [PATCH 0/5] parport: cleanup several checkpatch issues

Carlos Palminha CARLOS.PALMINHA at synopsys.com
Mon Jul 17 09:36:57 PDT 2017


cleanup 6 type of checkpatch issues, each type per patch:
  - trailing statements should be on next line
  - space prohibited between function name and open parenthesis '('
  - do not initialise statics to 0 / NULL
  - that open brace { should be on the previous line
  - braces {} are not necessary for any arm of this statement

The patchset was based on linux next, tag next-20170714

Carlos Palminha (5):
  parport: add newline to trailing statements
  parport: cleanup prohibited space after functions name
  parport: cleanup statics initialization to NULL or 0
  parport: move open braces to the same line
  parport: remove unnecessary braces

 drivers/parport/daisy.c          |  12 +-
 drivers/parport/ieee1284.c       | 267 +++++++++++++++---------------
 drivers/parport/ieee1284_ops.c   | 345 ++++++++++++++++++++-------------------
 drivers/parport/parport_atari.c  |   6 +-
 drivers/parport/parport_cs.c     |   4 +-
 drivers/parport/parport_gsc.c    |  78 ++++-----
 drivers/parport/parport_ip32.c   |   2 +-
 drivers/parport/parport_mfc3.c   |   4 +-
 drivers/parport/parport_pc.c     |   3 +-
 drivers/parport/parport_serial.c |  52 +++---
 drivers/parport/parport_sunbpp.c |  29 ++--
 drivers/parport/probe.c          |  46 +++---
 drivers/parport/procfs.c         |  28 ++--
 13 files changed, 438 insertions(+), 438 deletions(-)

-- 
2.11.0




More information about the Linux-parport mailing list