mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
i2c-pasemi: Replace obsolete "driverfs" reference with "sysfs"
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
5e31c2bd3c
commit
ff23f3eabb
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ static int __devinit pasemi_smb_probe(struct pci_dev *dev,
|
||||||
smbus->adapter.algo = &smbus_algorithm;
|
smbus->adapter.algo = &smbus_algorithm;
|
||||||
smbus->adapter.algo_data = smbus;
|
smbus->adapter.algo_data = smbus;
|
||||||
|
|
||||||
/* set up the driverfs linkage to our parent device */
|
/* set up the sysfs linkage to our parent device */
|
||||||
smbus->adapter.dev.parent = &dev->dev;
|
smbus->adapter.dev.parent = &dev->dev;
|
||||||
|
|
||||||
reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR |
|
reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue