Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326193
b: refs/heads/master
c: 146ab28
h: refs/heads/master
i:
  326191: a58beec
v: v3
  • Loading branch information
Christophe Leroy authored and Guenter Roeck committed Sep 24, 2012
1 parent c38ad25 commit 7d4bf54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: edec5af7c5cba4a8c00c0c52fbad3b83217122da
refs/heads/master: 146ab288bbe037aa85a233221cd8d9a84bedcf85
5 changes: 2 additions & 3 deletions trunk/Documentation/hwmon/lm70
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ As a real (in-tree) example of this "SPI protocol driver" interfacing
with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
and its associated documentation.

The TMP121/TMP123 are very similar; main differences are 4 wire SPI inter-
face (read only) and 13-bit temperature data (0.0625 degrees celsius reso-
lution).
The TMP121/TMP123 are very similar; main difference is 13-bit temperature
data (0.0625 degrees celsius resolution).

Thanks to
---------
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/hwmon/lm70.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ static int __devinit lm70_probe(struct spi_device *spi)
if (spi->mode & (SPI_CPOL | SPI_CPHA))
return -EINVAL;

/* 3-wire link (shared SI/SO) for LM70 */
if (chip == LM70_CHIP_LM70 && !(spi->mode & SPI_3WIRE))
return -EINVAL;

/* NOTE: we assume 8-bit words, and convert to 16 bits manually */

p_lm70 = devm_kzalloc(&spi->dev, sizeof(*p_lm70), GFP_KERNEL);
Expand Down

0 comments on commit 7d4bf54

Please sign in to comment.