projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c63dde
)
staging:iio:adc:max1363 add datasheet_name entries.
author
Jonathan Cameron
<jic23@cam.ac.uk>
Mon, 5 Dec 2011 21:56:01 +0000
(21:56 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Dec 2011 19:41:45 +0000
(11:41 -0800)
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>
drivers/staging/iio/adc/max1363_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/max1363_core.c
b/drivers/staging/iio/adc/max1363_core.c
index 9febd1b4a06448d346e749e11a01d2e387c7ddfc..0b97123703ae425a52f61f5ead16b5b2ef77d421 100644
(file)
--- a/
drivers/staging/iio/adc/max1363_core.c
+++ b/
drivers/staging/iio/adc/max1363_core.c
@@
-298,6
+298,7
@@
static const enum max1363_modes max1363_mode_list[] = {
.channel = num, \
.address = addr, \
.info_mask = MAX1363_INFO_MASK, \
+ .datasheet_name = "AIN"#num, \
.scan_type = { \
.sign = 'u', \
.realbits = bits, \
@@
-318,6
+319,7
@@
static const enum max1363_modes max1363_mode_list[] = {
.channel2 = num2, \
.address = addr, \
.info_mask = MAX1363_INFO_MASK, \
+ .datasheet_name = "AIN"#num"-AIN"#num2, \
.scan_type = { \
.sign = 's', \
.realbits = bits, \
This page took
0.025564 seconds
and
5
git commands to generate.