mirror of https://gitee.com/openkylin/linux.git
staging:iio:accel:sca3000 small checkpatch fixes (alignment etc)
Tidied up where checkpatch warning suppressions doesn't effect the readability of the code. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
parent
9a4936dc89
commit
389c583fd8
|
@ -275,8 +275,8 @@ static int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sca3000_read_data_short(struct sca3000_state *st,
|
static int sca3000_read_data_short(struct sca3000_state *st,
|
||||||
u8 reg_address_high,
|
u8 reg_address_high,
|
||||||
int len)
|
int len)
|
||||||
{
|
{
|
||||||
struct spi_transfer xfer[2] = {
|
struct spi_transfer xfer[2] = {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue