iio:temperature:mlx90632: Some stylefixing leftovers
There is some inconsistency and whitespace cleanup performed in this patch. It was done on top of my other patches, but I can rebase to head of the togreg branch if it would go in sooner. Signed-off-by: Crt Mori <cmo@melexis.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20200818213737.140613-6-cmo@melexis.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
e02472f74a
commit
50677d2882
@ -112,10 +112,10 @@
|
||||
#define MLX90632_DSP_VERSION 5 /* DSP version */
|
||||
#define MLX90632_DSP_MASK GENMASK(7, 0) /* DSP version in EE_VERSION */
|
||||
#define MLX90632_RESET_CMD 0x0006 /* Reset sensor (address or global) */
|
||||
#define MLX90632_REF_12 12LL /**< ResCtrlRef value of Ch 1 or Ch 2 */
|
||||
#define MLX90632_REF_3 12LL /**< ResCtrlRef value of Channel 3 */
|
||||
#define MLX90632_MAX_MEAS_NUM 31 /**< Maximum measurements in list */
|
||||
#define MLX90632_SLEEP_DELAY_MS 3000 /**< Autosleep delay */
|
||||
#define MLX90632_REF_12 12LL /* ResCtrlRef value of Ch 1 or Ch 2 */
|
||||
#define MLX90632_REF_3 12LL /* ResCtrlRef value of Channel 3 */
|
||||
#define MLX90632_MAX_MEAS_NUM 31 /* Maximum measurements in list */
|
||||
#define MLX90632_SLEEP_DELAY_MS 3000 /* Autosleep delay */
|
||||
#define MLX90632_EXTENDED_LIMIT 27000 /* Extended mode raw value limit */
|
||||
|
||||
/**
|
||||
@ -889,7 +889,7 @@ static int mlx90632_probe(struct i2c_client *client,
|
||||
mlx90632->mtyp = MLX90632_MTYP_EXTENDED;
|
||||
} else if ((read & MLX90632_DSP_MASK) == MLX90632_DSP_VERSION) {
|
||||
dev_dbg(&client->dev,
|
||||
"Detected Unknown EEPROM calibration %x\n", read);
|
||||
"Detected Unknown EEPROM calibration %x\n", read);
|
||||
} else {
|
||||
dev_err(&client->dev,
|
||||
"Wrong DSP version %x (expected %x)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user