bmp085: add I2C name and class master
authorPhil Vandry <vandry@TZoNE.ORG>
Tue, 30 Nov 2010 23:57:11 +0000 (18:57 -0500)
committerChristoph Mair <christoph.mair@gmail.com>
Thu, 2 Dec 2010 21:18:18 +0000 (22:18 +0100)
commit56801b6814d31dbdbd33d9ba8480cece27802c2b
tree866bcbb10d85a5d3e885b72b2ddffee8077dd0a5
parentef823638140c8d764cfc005e1afaa0788770f460
bmp085: add I2C name and class

bmp085: add I2C name and class

- i2c_detect() will not trigger device detection unless the I2C
  class is set and matches
- i2c_detect_address() requires the detect function to provide a name

Signed-off-by: Phil Vandry <vandry@TZoNE.ORG>
kernel/bmp085.c