| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Windfarm PowerMac thermal control. LM75 sensor |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. |
|---|
| 5 | 6 | * <benh@kernel.crashing.org> |
|---|
| 6 | | - * |
|---|
| 7 | | - * Released under the term of the GNU GPL v2. |
|---|
| 8 | 7 | */ |
|---|
| 9 | 8 | |
|---|
| 10 | 9 | #include <linux/types.h> |
|---|
| .. | .. |
|---|
| 35 | 34 | #endif |
|---|
| 36 | 35 | |
|---|
| 37 | 36 | struct wf_lm75_sensor { |
|---|
| 38 | | - int ds1775 : 1; |
|---|
| 39 | | - int inited : 1; |
|---|
| 37 | + unsigned int ds1775 : 1; |
|---|
| 38 | + unsigned int inited : 1; |
|---|
| 40 | 39 | struct i2c_client *i2c; |
|---|
| 41 | 40 | struct wf_sensor sens; |
|---|
| 42 | 41 | }; |
|---|
| .. | .. |
|---|
| 152 | 151 | static int wf_lm75_remove(struct i2c_client *client) |
|---|
| 153 | 152 | { |
|---|
| 154 | 153 | struct wf_lm75_sensor *lm = i2c_get_clientdata(client); |
|---|
| 155 | | - |
|---|
| 156 | | - DBG("wf_lm75: i2c detatch called for %s\n", lm->sens.name); |
|---|
| 157 | 154 | |
|---|
| 158 | 155 | /* Mark client detached */ |
|---|
| 159 | 156 | lm->i2c = NULL; |
|---|