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: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Stefan Popa 2018-04-11 14:51:51 +03:00 committed by Jonathan Cameron
parent 685cc61b07
commit 25ffba7a2a
1 changed files with 14 additions and 11 deletions

View File

@ -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, 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); 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, 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) size_t len)
{ {
bool readin; bool readin;