Skip to content

Commit

Permalink
keucr: fixes open brace go on the next line error
Browse files Browse the repository at this point in the history
This patch fixes the following checkpatch error,
ERROR: open brace '{' following function declarations go on the next
line

Signed-off-by: Amarjargal Gundjalam <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
amarjargal authored and gregkh committed May 20, 2013
1 parent e1a1c48 commit c41d74c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/staging/keucr/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,12 @@ struct us_data {
};

/* Convert between us_data and the corresponding Scsi_Host */
static inline struct Scsi_Host *us_to_host(struct us_data *us) {
static inline struct Scsi_Host *us_to_host(struct us_data *us)
{
return container_of((void *) us, struct Scsi_Host, hostdata);
}
static inline struct us_data *host_to_us(struct Scsi_Host *host) {
static inline struct us_data *host_to_us(struct Scsi_Host *host)
{
return (struct us_data *) host->hostdata;
}

Expand Down

0 comments on commit c41d74c

Please sign in to comment.