hwmon: remove () used with return

fix checkpatch ERROR:
return is not a function, parentheses are not required

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
Frans Meulenbroeks
2012-01-05 19:50:18 +01:00
committato da Guenter Roeck
parent a6bee4a557
commit 7fe83ad877
8 ha cambiato i file con 32 aggiunte e 32 eliminazioni

Vedi File

@@ -265,7 +265,7 @@ DIV_TO_REG(long val)
break;
val >>= 1;
}
return ((u8) i);
return (u8)i;
}
struct w83792d_data {
@@ -333,7 +333,7 @@ static struct i2c_driver w83792d_driver = {
static inline long in_count_from_reg(int nr, struct w83792d_data *data)
{
/* in7 and in8 do not have low bits, but the formula still works */
return ((data->in[nr] << 2) | ((data->low_bits >> (2 * nr)) & 0x03));
return (data->in[nr] << 2) | ((data->low_bits >> (2 * nr)) & 0x03);
}
/* The SMBus locks itself. The Winbond W83792D chip has a bank register,