[PATCH] iio: temperature: maxim_thermocouple: Fix indentation in of_match table

Rahman Mahmutović posted 1 patch 1 month, 2 weeks ago
drivers/iio/temperature/maxim_thermocouple.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] iio: temperature: maxim_thermocouple: Fix indentation in of_match table
Posted by Rahman Mahmutović 1 month, 2 weeks ago
Replace leading spaces with tabs in the of_device_id table
entries to comply with kernel coding style.

Signed-off-by: Rahman Mahmutović <mahmutovicrahman5@gmail.com>
---
 drivers/iio/temperature/maxim_thermocouple.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
index cae8e84821d7..7f80fa018ab4 100644
--- a/drivers/iio/temperature/maxim_thermocouple.c
+++ b/drivers/iio/temperature/maxim_thermocouple.c
@@ -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);
 
-- 
2.43.0

Re: [PATCH] iio: temperature: maxim_thermocouple: Fix indentation in of_match table
Posted by Jonathan Cameron 1 month, 2 weeks ago
On Mon, 27 Apr 2026 22:20:16 +0200
Rahman Mahmutović <mahmutovicrahman5@gmail.com> wrote:

> Replace leading spaces with tabs in the of_device_id table
> entries to comply with kernel coding style.
> 
> Signed-off-by: Rahman Mahmutović <mahmutovicrahman5@gmail.com>
Hi Rahman,

Applied,

Thanks,

Jonathan

> ---
>  drivers/iio/temperature/maxim_thermocouple.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
> index cae8e84821d7..7f80fa018ab4 100644
> --- a/drivers/iio/temperature/maxim_thermocouple.c
> +++ b/drivers/iio/temperature/maxim_thermocouple.c
> @@ -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);
>