OSDN Git Service

i2c_intel_mid: Fix slash in sysfs name
authorAlan Cox <alan@linux.intel.com>
Tue, 14 Dec 2010 15:29:08 +0000 (15:29 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Dec 2010 02:46:01 +0000 (18:46 -0800)
commit54efdfeb49f03adfd0196935335890469ed314b9
tree1e041b845897d34b378b4cb8689fbc0a77d7ba53
parentdbd9fd63bdc7d73f3822a5e9dfaa6654e530518c
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/i2c/busses/i2c-intel-mid.c