aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-12-14 16:09:36 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-14 16:09:36 +0000
commit58d95233ad8aa2fde72f8b9ebbf8ebbd91635358 (patch)
treeb61a4146dc51f873b13346e19accc1739f9cd67e
parentd051ad45ef13793159797873161ea07e4a10efbc (diff)
downloadmrst-s0i3-test-58d95233ad8aa2fde72f8b9ebbf8ebbd91635358.tar.gz
mrst-s0i3-test-58d95233ad8aa2fde72f8b9ebbf8ebbd91635358.tar.xz
mrst-s0i3-test-58d95233ad8aa2fde72f8b9ebbf8ebbd91635358.zip
i2c_intel_mid: Fix slash in sysfs name
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 <alan@linux.intel.com>
-rw-r--r--drivers/i2c/busses/i2c-intel-mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-intel-mid.c b/drivers/i2c/busses/i2c-intel-mid.c
index 83ddd8044fe..6a7f9970588 100644
--- a/drivers/i2c/busses/i2c-intel-mid.c
+++ b/drivers/i2c/busses/i2c-intel-mid.c
@@ -1035,7 +1035,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;