iio: temperature: maxim_thermocouple: Fix indentation in of_match table
PATCH 1/1 iio: temperature: maxim_thermocouple: Fix indentation in of_match table
Replace leading spaces with tabs in the of_device_id table entries to comply with kernel coding style.
Signed-off-by Rahman Mahmutović <[email protected]>
--- drivers/iio/temperature/maxim_thermocouple.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/temperature/maxim_thermocouple.c +3 -3
@@ -271,8 +271,8 @@ static const struct spi_device_id maxim_thermocouple_id[] = {MODULE_DEVICE_TABLE (spi, maxim_thermocouple_id);static const struct of_device_id maxim_thermocouple_of_match[] = { - { .compatible ="maxim,max6675" }, - { .compatible ="maxim,max31855" }, + { .compatible ="maxim,max6675" }, + { .compatible ="maxim,max31855" }, { .compatible ="maxim,max31855k" }, { .compatible ="maxim,max31855j" }, { .compatible ="maxim,max31855n" },
@@ -280,7 +280,7 @@ static const struct of_device_id maxim_thermocouple_of_match[] = { { .compatible = "maxim,max31855t" }, { .compatible = "maxim,max31855e" }, { .compatible = "maxim,max31855r" }, - { }, + { }, };MODULE_DEVICE_TABLE (of, maxim_thermocouple_of_match);
Signature · 1 line
2.43.0
Quoted 4 lines · On Mon, 27 Apr 2026 22:20:16 +0200 Rahman Mahmutović…
Replace leading spaces with tabs in the
of_device_idtable entries to comply with kernel coding style.Signed-off-by Rahman Mahmutović <[email protected]>
Hi Rahman,
Applied,
Thanks,
Jonathan
Quoted 28 lines
--- drivers/iio/temperature/maxim_thermocouple.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/iio/temperature/maxim_thermocouple.c +3
-3@@ -271,8 +271,8 @@ static const struct spi_device_id maxim_thermocouple_id[] = {MODULE_DEVICE_TABLE (spi, maxim_thermocouple_id);static const struct of_device_id maxim_thermocouple_of_match[] = { - { .compatible ="maxim,max6675" }, - { .compatible ="maxim,max31855" }, + { .compatible ="maxim,max6675" }, + { .compatible ="maxim,max31855" }, { .compatible ="maxim,max31855k" }, { .compatible ="maxim,max31855j" }, { .compatible ="maxim,max31855n" },@@ -280,7 +280,7 @@ static const struct of_device_id maxim_thermocouple_of_match[] = { { .compatible = "maxim,max31855t" }, { .compatible = "maxim,max31855e" }, { .compatible = "maxim,max31855r" }, - { }, + { }, };MODULE_DEVICE_TABLE (of, maxim_thermocouple_of_match);