projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5247362
)
iio:dac:mcp4725 drop specification of scan type as unused in this driver.
author
Jonathan Cameron
<jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000
(18:45 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Tue, 17 Dec 2013 21:08:19 +0000
(21:08 +0000)
IIO_ST is going away as it is a pain to maintain so the simplest path with
this driver is to not specify the unused scan type.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/dac/mcp4725.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/dac/mcp4725.c
b/drivers/iio/dac/mcp4725.c
index 9f57ae84ab89c6aa89bb2aa23d634ceed242fcc2..7d9f5c31d2fcc8dfe9636e1a78528e7e724259d2 100644
(file)
--- a/
drivers/iio/dac/mcp4725.c
+++ b/
drivers/iio/dac/mcp4725.c
@@
-209,7
+209,6
@@
static const struct iio_chan_spec mcp4725_channel = {
.channel = 0,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
- .scan_type = IIO_ST('u', 12, 16, 0),
.ext_info = mcp4725_ext_info,
};