summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorRobin Schroer <sulamiification@gmail.com>2014-05-28 14:52:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 14:30:33 -0700
commit3151878e843646f67dc1aec413be9b7b699892df (patch)
treef3d659eccdb151f5f204743845dca1520c651af8 /drivers/staging
parent7b38ba17eb071ba02edbbadc3eac4fe8ab53803a (diff)
downloadblackbird-obmc-linux-3151878e843646f67dc1aec413be9b7b699892df.tar.gz
blackbird-obmc-linux-3151878e843646f67dc1aec413be9b7b699892df.zip
Staging/frontier/tranzport: coding style fixes
added newlines after declarations in two places Signed-off-by: Robin Schroer <sulamiification@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/frontier/tranzport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c
index 334ba04ae44b..2f86163d7013 100644
--- a/drivers/staging/frontier/tranzport.c
+++ b/drivers/staging/frontier/tranzport.c
@@ -475,6 +475,7 @@ static unsigned int usb_tranzport_poll(struct file *file, poll_table *wait)
{
struct usb_tranzport *dev;
unsigned int mask = 0;
+
dev = file->private_data;
poll_wait(file, &dev->read_wait, wait);
poll_wait(file, &dev->write_wait, wait);
@@ -937,6 +938,7 @@ static void usb_tranzport_disconnect(struct usb_interface *intf)
{
struct usb_tranzport *dev;
int minor;
+
mutex_lock(&disconnect_mutex);
dev = usb_get_intfdata(intf);
usb_set_intfdata(intf, NULL);
OpenPOWER on IntegriCloud