aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorJiang Jian <jiangjian@cdjrlc.com>2022-06-21 17:23:19 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-01 11:19:08 +0100
commit65816728967159cc4c9db6097ccbb1b452836064 (patch)
treecf605219941798a2cf2c26d326a95521842fd3cc /drivers/iio/dac
parentiio: adc: qcom-spmi-rradc: Fix spelling mistake "coherrency" -> "coherency" (diff)
downloadwireguard-linux-65816728967159cc4c9db6097ccbb1b452836064.tar.xz
wireguard-linux-65816728967159cc4c9db6097ccbb1b452836064.zip
iio: dac: ad5380: align '*' each line and drop unneeded blank line
Tidy up a missing space before */ and a unwanted blank line between function documentation and code. Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220621092319.69598-1-jiangjian@cdjrlc.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/ad5380.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
index a44c83242fb1..81775152aac6 100644
--- a/drivers/iio/dac/ad5380.c
+++ b/drivers/iio/dac/ad5380.c
@@ -36,8 +36,7 @@
* @channel_template: channel specification template
* @num_channels: number of channels
* @int_vref: internal vref in uV
-*/
-
+ */
struct ad5380_chip_info {
struct iio_chan_spec channel_template;
unsigned int num_channels;
@@ -53,7 +52,6 @@ struct ad5380_chip_info {
* @pwr_down: whether the chip is currently in power down mode
* @lock: lock to protect the data buffer during regmap ops
*/
-
struct ad5380_state {
struct regmap *regmap;
const struct ad5380_chip_info *chip_info;