diff options
author | Timo von Holtz <tvh@informatik.uni-kiel.de> | 2011-02-01 18:28:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-04 21:01:02 (GMT) |
commit | 0838b87cae7e81e497218b5eba3c8e9ca6f3ddbe (patch) | |
tree | ca36e6718b437c78158170cbf442c832078e7b37 /drivers/staging/rts_pstor/trace.h | |
parent | 404dc5f3f475ce3598d0e295883a28efafb90ac5 (diff) | |
download | linux-fsl-qoriq-0838b87cae7e81e497218b5eba3c8e9ca6f3ddbe.tar.xz |
Staging: rts_pstor: fixed some brace code styling issues
Fixed all brace coding style issues in the following files:
drivers/staging/rts_pstor/rtsx_card.h
drivers/staging/rts_pstor/spi.c
drivers/staging/rts_pstor/trace.h
drivers/staging/rts_pstor/xd.c
Signed-off-by: Timo von Holtz <tvh@informatik.uni-kiel.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor/trace.h')
-rw-r--r-- | drivers/staging/rts_pstor/trace.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/rts_pstor/trace.h b/drivers/staging/rts_pstor/trace.h index 1b89589..2c668ba 100644 --- a/drivers/staging/rts_pstor/trace.h +++ b/drivers/staging/rts_pstor/trace.h @@ -31,16 +31,15 @@ static inline char *filename(char *path) { char *ptr; - if (path == NULL) { + if (path == NULL) return NULL; - } ptr = path; while (*ptr != '\0') { - if ((*ptr == '\\') || (*ptr == '/')) { + if ((*ptr == '\\') || (*ptr == '/')) path = ptr + 1; - } + ptr++; } |