summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx.h
diff options
context:
space:
mode:
authorRehas Sachdeva2016-09-20 13:16:24 +0200
committerGreg Kroah-Hartman2016-09-20 14:03:04 +0200
commit7c7f23614586c4f48c4e8f4b10b62992fe38de3c (patch)
tree16862c840b5424d2254fccf13d9864d8b8a8a933 /drivers/staging/rts5208/rtsx.h
parentstaging: rts5208: Use BIT(x) macro (diff)
downloadkernel-qcow2-linux-7c7f23614586c4f48c4e8f4b10b62992fe38de3c.tar.gz
kernel-qcow2-linux-7c7f23614586c4f48c4e8f4b10b62992fe38de3c.tar.xz
kernel-qcow2-linux-7c7f23614586c4f48c4e8f4b10b62992fe38de3c.zip
staging: rts5208: Remove space after cast
Removes unnecessary space after a cast. Issue found by checkpatch. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208/rtsx.h')
-rw-r--r--drivers/staging/rts5208/rtsx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx.h b/drivers/staging/rts5208/rtsx.h
index c0f513c78659..7a21e466a1b4 100644
--- a/drivers/staging/rts5208/rtsx.h
+++ b/drivers/staging/rts5208/rtsx.h
@@ -135,12 +135,12 @@ typedef struct rtsx_dev rtsx_dev_t;
/* Convert between rtsx_dev and the corresponding Scsi_Host */
static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev)
{
- return container_of((void *) dev, struct Scsi_Host, hostdata);
+ return container_of((void *)dev, struct Scsi_Host, hostdata);
}
static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host)
{
- return (struct rtsx_dev *) host->hostdata;
+ return (struct rtsx_dev *)host->hostdata;
}
static inline void get_current_time(u8 *timeval_buf, int buf_len)