Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: dac: ad5446: Fix coding style issues

Fix style issues as reported by checkpatch.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nuno Sá and committed by
Jonathan Cameron
8265cc28 bb5565a9

+11 -12
+11 -12
drivers/iio/dac/ad5446.c
··· 28 28 }; 29 29 30 30 static int ad5446_set_powerdown_mode(struct iio_dev *indio_dev, 31 - const struct iio_chan_spec *chan, unsigned int mode) 31 + const struct iio_chan_spec *chan, 32 + unsigned int mode) 32 33 { 33 34 struct ad5446_state *st = iio_priv(indio_dev); 34 35 ··· 39 38 } 40 39 41 40 static int ad5446_get_powerdown_mode(struct iio_dev *indio_dev, 42 - const struct iio_chan_spec *chan) 41 + const struct iio_chan_spec *chan) 43 42 { 44 43 struct ad5446_state *st = iio_priv(indio_dev); 45 44 ··· 54 53 }; 55 54 56 55 static ssize_t ad5446_read_dac_powerdown(struct iio_dev *indio_dev, 57 - uintptr_t private, 58 - const struct iio_chan_spec *chan, 59 - char *buf) 56 + uintptr_t private, 57 + const struct iio_chan_spec *chan, 58 + char *buf) 60 59 { 61 60 struct ad5446_state *st = iio_priv(indio_dev); 62 61 ··· 64 63 } 65 64 66 65 static ssize_t ad5446_write_dac_powerdown(struct iio_dev *indio_dev, 67 - uintptr_t private, 68 - const struct iio_chan_spec *chan, 69 - const char *buf, size_t len) 66 + uintptr_t private, 67 + const struct iio_chan_spec *chan, 68 + const char *buf, size_t len) 70 69 { 71 70 struct ad5446_state *st = iio_priv(indio_dev); 72 71 unsigned int shift; ··· 148 147 } 149 148 150 149 static int ad5446_write_raw(struct iio_dev *indio_dev, 151 - struct iio_chan_spec const *chan, 152 - int val, 153 - int val2, 154 - long mask) 150 + struct iio_chan_spec const *chan, int val, 151 + int val2, long mask) 155 152 { 156 153 switch (mask) { 157 154 case IIO_CHAN_INFO_RAW: