Skip to content

Commit

Permalink
staging/cptm1217: fix checkpatch warnings
Browse files Browse the repository at this point in the history
The below checkpatch error was fixed,

drivers/staging/cptm1217/cp_tm1217.h:5: ERROR: open brace '{' following struct go on the same line

Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Jul 19, 2012
1 parent 5b99b09 commit 289a642
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/cptm1217/cp_tm1217.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#ifndef __LINUX_I2C_CP_TM1217_H
#define __LINUX_I2C_CP_TM1217_H

struct cp_tm1217_platform_data
{
struct cp_tm1217_platform_data {
int gpio; /* If not set uses the IRQ resource 0 */
};

Expand Down

0 comments on commit 289a642

Please sign in to comment.