commit | 99ca177ae4d31c3fbbea7ffb213b9724e4c26233 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Wed Oct 14 05:31:32 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Oct 30 17:21:32 2009 +1100 |
tree | dcaeb6dc3d52f94110ba7a85d045b9a247b51a19 | |
parent | cd015707176820b86d07b5dffdecfefdd539a497 [diff] |
powerpc/therm_adt746x: Don't access non-existing register The ADT746x don't have any register at sub-address 0, so better use an existing register for the initial test read. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Colin Leroy <colin@colino.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>