Commit 439ce896 authored by Vasileios Amoiridis's avatar Vasileios Amoiridis Committed by Jonathan Cameron

iio: pressure: bmp280: Improve indentation and line wrapping

Fix indentations that are not following the standards, remove
extra white lines and add missing white lines.
Signed-off-by: default avatarVasileios Amoiridis <vassilisamir@gmail.com>
Link: https://lore.kernel.org/r/20240429190046.24252-2-vassilisamir@gmail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 6de2f3a1
This diff is collapsed.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "bmp280.h" #include "bmp280.h"
static int bmp280_regmap_spi_write(void *context, const void *data, static int bmp280_regmap_spi_write(void *context, const void *data,
size_t count) size_t count)
{ {
struct spi_device *spi = to_spi_device(context); struct spi_device *spi = to_spi_device(context);
u8 buf[2]; u8 buf[2];
...@@ -29,7 +29,7 @@ static int bmp280_regmap_spi_write(void *context, const void *data, ...@@ -29,7 +29,7 @@ static int bmp280_regmap_spi_write(void *context, const void *data,
} }
static int bmp280_regmap_spi_read(void *context, const void *reg, static int bmp280_regmap_spi_read(void *context, const void *reg,
size_t reg_size, void *val, size_t val_size) size_t reg_size, void *val, size_t val_size)
{ {
struct spi_device *spi = to_spi_device(context); struct spi_device *spi = to_spi_device(context);
......
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