mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
staging: iio: adc: ad7280a: Tab alignment
Aligned some parameters. Signed-off-by: Cristian Sicilia <sicilia.cristian@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
0976f94f76
commit
65500c53aa
@@ -826,30 +826,30 @@ static irqreturn_t ad7280_event_handler(int irq, void *private)
|
||||
}
|
||||
|
||||
static IIO_DEVICE_ATTR_NAMED(in_thresh_low_value,
|
||||
in_voltage-voltage_thresh_low_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_CELL_UNDERVOLTAGE);
|
||||
in_voltage-voltage_thresh_low_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_CELL_UNDERVOLTAGE);
|
||||
|
||||
static IIO_DEVICE_ATTR_NAMED(in_thresh_high_value,
|
||||
in_voltage-voltage_thresh_high_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_CELL_OVERVOLTAGE);
|
||||
in_voltage-voltage_thresh_high_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_CELL_OVERVOLTAGE);
|
||||
|
||||
static IIO_DEVICE_ATTR(in_temp_thresh_low_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_AUX_ADC_UNDERVOLTAGE);
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_AUX_ADC_UNDERVOLTAGE);
|
||||
|
||||
static IIO_DEVICE_ATTR(in_temp_thresh_high_value,
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_AUX_ADC_OVERVOLTAGE);
|
||||
0644,
|
||||
ad7280_read_channel_config,
|
||||
ad7280_write_channel_config,
|
||||
AD7280A_AUX_ADC_OVERVOLTAGE);
|
||||
|
||||
static struct attribute *ad7280_event_attributes[] = {
|
||||
&iio_dev_attr_in_thresh_low_value.dev_attr.attr,
|
||||
|
||||
Reference in New Issue
Block a user