powerpc/macintosh: Fix wrong test in fan_{read,write}_reg()
authorroel kluin <roel.kluin@gmail.com>
Fri, 31 Dec 2010 04:57:46 +0000 (04:57 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:34 +0000 (14:08 +1100)
commitf32be0c54057faac90e0b5e9e13fa9f8fab127ac
tree4dc3e6c16b97dc79a0fc1b570cdf8394f75d001a
parent4c4a5cf64bfa0ddbe4145e6ca18a62eb70706edd
powerpc/macintosh: Fix wrong test in fan_{read,write}_reg()

Fix error test in fan_{read,write}_reg()

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/therm_pm72.c