Lines Matching refs:status
97 int status = tmp102_read_reg(client, tmp102_reg[i]);
98 if (status > -1)
99 tmp102->temp[i] = tmp102_reg_to_mC(status);
125 int status;
133 status = tmp102_write_reg(client, tmp102_reg[sda->index],
136 return status ? : count;
165 int status;
181 status = tmp102_read_reg(client, TMP102_CONF_REG);
182 if (status < 0) {
186 tmp102->config_orig = status;
187 status = tmp102_write_reg(client, TMP102_CONF_REG, TMP102_CONFIG);
188 if (status < 0) {
192 status = tmp102_read_reg(client, TMP102_CONF_REG);
193 if (status < 0) {
197 status &= ~TMP102_CONFIG_RD_ONLY;
198 if (status != TMP102_CONFIG) {
200 status = -ENODEV;
206 status = sysfs_create_group(&client->dev.kobj, &tmp102_attr_group);
207 if (status) {
214 status = PTR_ERR(tmp102->hwmon_dev);
229 return status;