Commit 5c065b53 authored by Elise Lennion's avatar Elise Lennion Committed by Greg Kroah-Hartman

staging: media: lirc: Format block comments.

Fix checkpatch warning:

WARNING: Block comments use a trailing */ on a separate line
Signed-off-by: default avatarElise Lennion <elise.lennion@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 592c6116
...@@ -103,7 +103,8 @@ struct sasem_context { ...@@ -103,7 +103,8 @@ struct sasem_context {
struct tx_t { struct tx_t {
unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data
* buffer */ * buffer
*/
struct completion finished; /* wait for write to finish */ struct completion finished; /* wait for write to finish */
atomic_t busy; /* write in progress */ atomic_t busy; /* write in progress */
int status; /* status of tx completion */ int status; /* status of tx completion */
...@@ -295,7 +296,8 @@ static int vfd_close(struct inode *inode, struct file *file) ...@@ -295,7 +296,8 @@ static int vfd_close(struct inode *inode, struct file *file)
if (!context->dev_present && !context->ir_isopen) { if (!context->dev_present && !context->ir_isopen) {
/* Device disconnected before close and IR port is /* Device disconnected before close and IR port is
* not open. If IR port is open, context will be * not open. If IR port is open, context will be
* deleted by ir_close. */ * deleted by ir_close.
*/
mutex_unlock(&context->ctx_lock); mutex_unlock(&context->ctx_lock);
delete_context(context); delete_context(context);
return retval; return retval;
...@@ -397,7 +399,8 @@ static ssize_t vfd_write(struct file *file, const char __user *buf, ...@@ -397,7 +399,8 @@ static ssize_t vfd_write(struct file *file, const char __user *buf,
/* Nine 8 byte packets to be sent */ /* Nine 8 byte packets to be sent */
/* NOTE: "\x07\x01\0\0\0\0\0\0" or "\x0c\0\0\0\0\0\0\0" /* NOTE: "\x07\x01\0\0\0\0\0\0" or "\x0c\0\0\0\0\0\0\0"
* will clear the VFD */ * will clear the VFD
*/
for (i = 0; i < 9; i++) { for (i = 0; i < 9; i++) {
switch (i) { switch (i) {
case 0: case 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment