summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus/xenbus_probe.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-12-10 14:39:15 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-05 16:31:08 -0500
commit6bac7f9f9e8e549c18ec4b77c499a45a1fae61b9 (patch)
treebaf84dcccc012c1dbdd5334d70d08b6b9588a5a7 /drivers/xen/xenbus/xenbus_probe.c
parent7003087ce0fcdaf57a331b4ad627195a7f97245e (diff)
xen/xenbus: fixup checkpatch issues in xenbus_probe*
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> 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.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c
index 811923451218..baa65e7fbbc7 100644
--- a/drivers/xen/xenbus/xenbus_probe.c
+++ b/drivers/xen/xenbus/xenbus_probe.c
@@ -126,9 +126,11 @@ static int talk_to_otherend(struct xenbus_device *dev)
static int watch_otherend(struct xenbus_device *dev)
{
- struct xen_bus_type *bus = container_of(dev->dev.bus, struct xen_bus_type, bus);
+ struct xen_bus_type *bus =
+ container_of(dev->dev.bus, struct xen_bus_type, bus);
- return xenbus_watch_pathfmt(dev, &dev->otherend_watch, bus->otherend_changed,
+ return xenbus_watch_pathfmt(dev, &dev->otherend_watch,
+ bus->otherend_changed,
"%s/%s", dev->otherend, "state");
}
@@ -579,7 +581,8 @@ int xenbus_dev_suspend(struct device *dev, pm_message_t state)
{
int err = 0;
struct xenbus_driver *drv;
- struct xenbus_device *xdev = container_of(dev, struct xenbus_device, dev);
+ struct xenbus_device *xdev
+ = container_of(dev, struct xenbus_device, dev);
DPRINTK("%s", xdev->nodename);
@@ -599,7 +602,8 @@ int xenbus_dev_resume(struct device *dev)
{
int err;
struct xenbus_driver *drv;
- struct xenbus_device *xdev = container_of(dev, struct xenbus_device, dev);
+ struct xenbus_device *xdev
+ = container_of(dev, struct xenbus_device, dev);
DPRINTK("%s", xdev->nodename);