Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25ffba7a authored by Stefan Popa's avatar Stefan Popa Committed by Jonathan Cameron
Browse files

iio:dac:ad5686: Style fixes no functional changes



This patch fixes some indentation issues and does not modify the
functionality of the driver.

Signed-off-by: default avatarStefan Popa <stefan.popa@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 685cc61b
Loading
Loading
Loading
Loading
+14 −11
Original line number Diff line number Diff line
@@ -145,7 +145,8 @@ static int ad5686_get_powerdown_mode(struct iio_dev *indio_dev,
}

static int ad5686_set_powerdown_mode(struct iio_dev *indio_dev,
	const struct iio_chan_spec *chan, unsigned int mode)
				     const struct iio_chan_spec *chan,
				     unsigned int mode)
{
	struct ad5686_state *st = iio_priv(indio_dev);

@@ -172,7 +173,9 @@ static ssize_t ad5686_read_dac_powerdown(struct iio_dev *indio_dev,
}

static ssize_t ad5686_write_dac_powerdown(struct iio_dev *indio_dev,
	 uintptr_t private, const struct iio_chan_spec *chan, const char *buf,
					  uintptr_t private,
					  const struct iio_chan_spec *chan,
					  const char *buf,
					  size_t len)
{
	bool readin;