Commit 50677d28 authored by Crt Mori's avatar Crt Mori Committed by Jonathan Cameron

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: default avatarCrt Mori <cmo@melexis.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200818213737.140613-6-cmo@melexis.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent e02472f7
...@@ -112,10 +112,10 @@ ...@@ -112,10 +112,10 @@
#define MLX90632_DSP_VERSION 5 /* DSP version */ #define MLX90632_DSP_VERSION 5 /* DSP version */
#define MLX90632_DSP_MASK GENMASK(7, 0) /* DSP version in EE_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_RESET_CMD 0x0006 /* Reset sensor (address or global) */
#define MLX90632_REF_12 12LL /**< ResCtrlRef value of Ch 1 or Ch 2 */ #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_REF_3 12LL /* ResCtrlRef value of Channel 3 */
#define MLX90632_MAX_MEAS_NUM 31 /**< Maximum measurements in list */ #define MLX90632_MAX_MEAS_NUM 31 /* Maximum measurements in list */
#define MLX90632_SLEEP_DELAY_MS 3000 /**< Autosleep delay */ #define MLX90632_SLEEP_DELAY_MS 3000 /* Autosleep delay */
#define MLX90632_EXTENDED_LIMIT 27000 /* Extended mode raw value limit */ #define MLX90632_EXTENDED_LIMIT 27000 /* Extended mode raw value limit */
/** /**
...@@ -889,7 +889,7 @@ static int mlx90632_probe(struct i2c_client *client, ...@@ -889,7 +889,7 @@ static int mlx90632_probe(struct i2c_client *client,
mlx90632->mtyp = MLX90632_MTYP_EXTENDED; mlx90632->mtyp = MLX90632_MTYP_EXTENDED;
} else if ((read & MLX90632_DSP_MASK) == MLX90632_DSP_VERSION) { } else if ((read & MLX90632_DSP_MASK) == MLX90632_DSP_VERSION) {
dev_dbg(&client->dev, dev_dbg(&client->dev,
"Detected Unknown EEPROM calibration %x\n", read); "Detected Unknown EEPROM calibration %x\n", read);
} else { } else {
dev_err(&client->dev, dev_err(&client->dev,
"Wrong DSP version %x (expected %x)\n", "Wrong DSP version %x (expected %x)\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment