aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_probe.c
diff options
context:
space:
mode:
authorRuslan Pisarev <ruslan@rpisarev.org.ua>2011-07-26 14:17:23 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-07-26 13:32:06 -0400
commit6913200a566b6d2866d46d7b947a2326c4e11f55 (patch)
tree511e8cb07ae0741bf758a385a3abf74a6f6d162a /drivers/xen/xenbus/xenbus_probe.c
parentXen: fix braces coding style issue in xenbus_probe.h (diff)
downloadlinux-dev-6913200a566b6d2866d46d7b947a2326c4e11f55.tar.xz
linux-dev-6913200a566b6d2866d46d7b947a2326c4e11f55.zip
Xen: fix braces and tabs coding style issue in xenbus_probe.c
This is a patch to the xenbus_probe.c file that fixed up braces and tabs errors found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.c')
-rw-r--r--drivers/xen/xenbus/xenbus_probe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c
index bd2f90c9ac8b..d4c7a9ffbcb9 100644
--- a/drivers/xen/xenbus/xenbus_probe.c
+++ b/drivers/xen/xenbus/xenbus_probe.c
@@ -309,8 +309,7 @@ void xenbus_unregister_driver(struct xenbus_driver *drv)
}
EXPORT_SYMBOL_GPL(xenbus_unregister_driver);
-struct xb_find_info
-{
+struct xb_find_info {
struct xenbus_device *dev;
const char *nodename;
};
@@ -639,7 +638,7 @@ int xenbus_dev_cancel(struct device *dev)
EXPORT_SYMBOL_GPL(xenbus_dev_cancel);
/* A flag to determine if xenstored is 'ready' (i.e. has started) */
-int xenstored_ready = 0;
+int xenstored_ready;
int register_xenstore_notifier(struct notifier_block *nb)
@@ -762,7 +761,7 @@ static int __init xenbus_init(void)
return 0;
- out_error:
+out_error:
if (page != 0)
free_page(page);