Skip to content

Commit

Permalink
i2c_intel_mid: Fix slash in sysfs name
Browse files Browse the repository at this point in the history
This gets caught by the new sanity check code. Instead of the slash use a
different symbol. This was originally found by Major Lee who proposed a
rather more complex patch which changed the name according to the chip
type.

On the basis that we are in a late -rc and making Linus grumpy isn't always
a good idea (however fun) this is a simple alternative.

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alan Cox authored and torvalds committed Dec 15, 2010
1 parent dbd9fd6 commit 54efdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-intel-mid.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ static int __devinit intel_mid_i2c_probe(struct pci_dev *dev,

/* Initialize struct members */
snprintf(mrst->adap.name, sizeof(mrst->adap.name),
"MRST/Medfield I2C at %lx", start);
"Intel MID I2C at %lx", start);
mrst->adap.owner = THIS_MODULE;
mrst->adap.algo = &intel_mid_i2c_algorithm;
mrst->adap.dev.parent = &dev->dev;
Expand Down

0 comments on commit 54efdfe

Please sign in to comment.