summaryrefslogtreecommitdiff
path: root/drivers/staging/most/hdm-usb/hdm_usb.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2015-10-21 17:50:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:08:16 -0700
commit9cbe5aa65d5d4e90c8bb661d021b50131eb963c6 (patch)
tree89853e2a06342c0020abc8ddaed13c963778a28e /drivers/staging/most/hdm-usb/hdm_usb.c
parent9deba73de56ce5782ca46460b1ca5a5de82439c1 (diff)
staging: most: use blank line after declarations
This patch fixes style violation regarding blank lines after function/struct/union/enum declarations. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-usb/hdm_usb.c')
-rw-r--r--drivers/staging/most/hdm-usb/hdm_usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c
index c8a74bc0f26c..747d22eabf97 100644
--- a/drivers/staging/most/hdm-usb/hdm_usb.c
+++ b/drivers/staging/most/hdm-usb/hdm_usb.c
@@ -77,6 +77,7 @@ struct buf_anchor {
struct list_head list;
struct completion urb_compl;
};
+
#define to_buf_anchor(w) container_of(w, struct buf_anchor, clear_work_obj)
/**
@@ -88,6 +89,7 @@ struct most_dci_obj {
struct kobject kobj;
struct usb_device *usb_device;
};
+
#define to_dci_obj(p) container_of(p, struct most_dci_obj, kobj)
/**
@@ -131,6 +133,7 @@ struct most_dev {
struct timer_list link_stat_timer;
struct work_struct poll_work_obj;
};
+
#define to_mdev(d) container_of(d, struct most_dev, iface)
#define to_mdev_from_work(w) container_of(w, struct most_dev, poll_work_obj)
@@ -984,6 +987,7 @@ struct most_dci_attribute {
const char *buf,
size_t count);
};
+
#define to_dci_attr(a) container_of(a, struct most_dci_attribute, attr)
/**