Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151282
b: refs/heads/master
c: f899c2d
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 16, 2009
1 parent 810efc7 commit a37b95f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 559fde706873256903155b3a62b05d0f52d62ab9
refs/heads/master: f899c2ddd45f2515deb446e2b143e4a686a49aee
8 changes: 4 additions & 4 deletions trunk/drivers/infiniband/hw/ehca/ehca_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ static ssize_t ehca_show_##name(struct device *dev, \
struct hipz_query_hca *rblock; \
int data; \
\
shca = dev->driver_data; \
shca = dev_get_drvdata(dev); \
\
rblock = ehca_alloc_fw_ctrlblock(GFP_KERNEL); \
if (!rblock) { \
Expand Down Expand Up @@ -680,7 +680,7 @@ static ssize_t ehca_show_adapter_handle(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct ehca_shca *shca = dev->driver_data;
struct ehca_shca *shca = dev_get_drvdata(dev);

return sprintf(buf, "%llx\n", shca->ipz_hca_handle.handle);

Expand Down Expand Up @@ -749,7 +749,7 @@ static int __devinit ehca_probe(struct of_device *dev,

shca->ofdev = dev;
shca->ipz_hca_handle.handle = *handle;
dev->dev.driver_data = shca;
dev_set_drvdata(&dev->dev, shca);

ret = ehca_sense_attributes(shca);
if (ret < 0) {
Expand Down Expand Up @@ -878,7 +878,7 @@ static int __devinit ehca_probe(struct of_device *dev,

static int __devexit ehca_remove(struct of_device *dev)
{
struct ehca_shca *shca = dev->dev.driver_data;
struct ehca_shca *shca = dev_get_drvdata(&dev->dev);
unsigned long flags;
int ret;

Expand Down

0 comments on commit a37b95f

Please sign in to comment.