lkml.org 
[lkml]   [2012]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/15] staging: comedi: 8255: add some whitespace to the #define's
    Date
    Add whitespace to the _8255_* defines to improve readability.

    Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
    Cc: Ian Abbott <abbotti@mev.co.uk>
    Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/staging/comedi/drivers/8255.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c
    index 8c97ac1..e0de149 100644
    --- a/drivers/staging/comedi/drivers/8255.c
    +++ b/drivers/staging/comedi/drivers/8255.c
    @@ -84,10 +84,10 @@ I/O port base address can be found in the output of 'lspci -v'.
    #include <linux/slab.h>
    #include "8255.h"

    -#define _8255_SIZE 4
    +#define _8255_SIZE 4

    -#define _8255_DATA 0
    -#define _8255_CR 3
    +#define _8255_DATA 0
    +#define _8255_CR 3

    #define CR_C_LO_IO 0x01
    #define CR_B_IO 0x02
    --
    1.7.7


    \
     
     \ /
      Last update: 2012-06-14 01:41    [W:0.027 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site