staging:iio:adc:max1363 add datasheet_name entries.
Kind of obvious for this device but useful for testing purposes. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
6c63dded7f
commit
bc234e72eb
@ -298,6 +298,7 @@ static const enum max1363_modes max1363_mode_list[] = {
|
|||||||
.channel = num, \
|
.channel = num, \
|
||||||
.address = addr, \
|
.address = addr, \
|
||||||
.info_mask = MAX1363_INFO_MASK, \
|
.info_mask = MAX1363_INFO_MASK, \
|
||||||
|
.datasheet_name = "AIN"#num, \
|
||||||
.scan_type = { \
|
.scan_type = { \
|
||||||
.sign = 'u', \
|
.sign = 'u', \
|
||||||
.realbits = bits, \
|
.realbits = bits, \
|
||||||
@ -318,6 +319,7 @@ static const enum max1363_modes max1363_mode_list[] = {
|
|||||||
.channel2 = num2, \
|
.channel2 = num2, \
|
||||||
.address = addr, \
|
.address = addr, \
|
||||||
.info_mask = MAX1363_INFO_MASK, \
|
.info_mask = MAX1363_INFO_MASK, \
|
||||||
|
.datasheet_name = "AIN"#num"-AIN"#num2, \
|
||||||
.scan_type = { \
|
.scan_type = { \
|
||||||
.sign = 's', \
|
.sign = 's', \
|
||||||
.realbits = bits, \
|
.realbits = bits, \
|
||||||
|
Loading…
Reference in New Issue
Block a user