Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3063
b: refs/heads/master
c: e2fe906
h: refs/heads/master
i:
  3061: 388264d
  3059: 4cdc120
  3055: 43204a2
v: v3
  • Loading branch information
Kylene Hall authored and Linus Torvalds committed Jun 24, 2005
1 parent 750ab02 commit 32a5330
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: fe3fd48384af79e7619d3c6b0a020f801ef63c3b
refs/heads/master: e2fe90666a84e6a11c541424dfa9eec20cfe5fc1
6 changes: 3 additions & 3 deletions trunk/drivers/char/tpm/tpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static ssize_t show_pcrs(struct device *dev, struct device_attribute *attr, char
char *str = buf;

struct tpm_chip *chip =
pci_get_drvdata(container_of(dev, struct pci_dev, dev));
pci_get_drvdata(to_pci_dev(dev));
if (chip == NULL)
return -ENODEV;

Expand Down Expand Up @@ -262,7 +262,7 @@ static ssize_t show_pubek(struct device *dev, struct device_attribute *attr, cha
char *str = buf;

struct tpm_chip *chip =
pci_get_drvdata(container_of(dev, struct pci_dev, dev));
pci_get_drvdata(to_pci_dev(dev));
if (chip == NULL)
return -ENODEV;

Expand Down Expand Up @@ -344,7 +344,7 @@ static ssize_t show_caps(struct device *dev, struct device_attribute *attr, char
char *str = buf;

struct tpm_chip *chip =
pci_get_drvdata(container_of(dev, struct pci_dev, dev));
pci_get_drvdata(to_pci_dev(dev));
if (chip == NULL)
return -ENODEV;

Expand Down

0 comments on commit 32a5330

Please sign in to comment.