summaryrefslogtreecommitdiffstats
path: root/drivers/staging/keucr
diff options
context:
space:
mode:
authorAmarjargal Gundjalam <amarjargal16@gmail.com>2013-05-17 01:03:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 21:05:41 -0700
commitc41d74c31e36d218b81c5bb6c6b62f0ada69f2db (patch)
treeeda598424590ab0f9dff05ef2f2a25e8a26cd02e /drivers/staging/keucr
parente1a1c4806c73f9426a0fd556fe76391ca12672bc (diff)
downloadop-kernel-dev-c41d74c31e36d218b81c5bb6c6b62f0ada69f2db.zip
op-kernel-dev-c41d74c31e36d218b81c5bb6c6b62f0ada69f2db.tar.gz
keucr: fixes open brace go on the next line error
This patch fixes the following checkpatch error, ERROR: open brace '{' following function declarations go on the next line Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr')
-rw-r--r--drivers/staging/keucr/usb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/keucr/usb.h b/drivers/staging/keucr/usb.h
index a5f7a16..94da345 100644
--- a/drivers/staging/keucr/usb.h
+++ b/drivers/staging/keucr/usb.h
@@ -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;
}
OpenPOWER on IntegriCloud