Commit 3be11133 authored by Andrew Miller's avatar Andrew Miller Committed by Greg Kroah-Hartman

Staging: media: lirc: lirc_sasem.c: fixed long line coding style issue

Fixed some coding style issues.
Signed-off-by: default avatarAndrew Miller <amiller@amilx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 51be3926
...@@ -90,11 +90,11 @@ static void __exit sasem_exit(void); ...@@ -90,11 +90,11 @@ static void __exit sasem_exit(void);
struct sasem_context { struct sasem_context {
struct usb_device *dev; struct usb_device *dev;
int vfd_isopen; /* VFD port has been opened */ int vfd_isopen; /* VFD port has been opened */
unsigned int vfd_contrast; /* VFD contrast */ unsigned int vfd_contrast; /* VFD contrast */
int ir_isopen; /* IR port has been opened */ int ir_isopen; /* IR port has been opened */
int dev_present; /* USB device presence */ int dev_present; /* USB device presence */
struct mutex ctx_lock; /* to lock this object */ struct mutex ctx_lock; /* to lock this object */
wait_queue_head_t remove_ok; /* For unexpected USB disconnects */ wait_queue_head_t remove_ok; /* For unexpected USB disconnects */
struct lirc_driver *driver; struct lirc_driver *driver;
...@@ -106,10 +106,11 @@ struct sasem_context { ...@@ -106,10 +106,11 @@ struct sasem_context {
unsigned char usb_tx_buf[8]; unsigned char usb_tx_buf[8];
struct tx_t { struct tx_t {
unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data buffer */ unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data
* 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 */
} tx; } tx;
/* for dealing with repeat codes (wish there was a toggle bit!) */ /* for dealing with repeat codes (wish there was a toggle bit!) */
......
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