diff options
author | Jonathan Cameron <jic23@kernel.org> | 2014-05-04 16:45:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-07 18:10:16 (GMT) |
commit | e20d6090e314fa52f25e4a257de3672aa474122c (patch) | |
tree | ca758a0bf3e275067c28ba18b6bc501c897dcde2 /drivers/staging/iio/adc | |
parent | e90ba52f4dee0e8e96910efe96358b1f9ed0f9d2 (diff) | |
download | linux-e20d6090e314fa52f25e4a257de3672aa474122c.tar.xz |
staging:iio:adc:spear rename spear_read_raw to spear_adc_read_raw
This brings it inline with all the other prefix usage in the driver.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Diffstat (limited to 'drivers/staging/iio/adc')
-rw-r--r-- | drivers/staging/iio/adc/spear_adc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/iio/adc/spear_adc.c b/drivers/staging/iio/adc/spear_adc.c index 52c26a6..c5492ba 100644 --- a/drivers/staging/iio/adc/spear_adc.c +++ b/drivers/staging/iio/adc/spear_adc.c @@ -136,11 +136,11 @@ static void spear_adc_set_scanrate(struct spear_adc_state *st, u32 rate) } } -static int spear_read_raw(struct iio_dev *indio_dev, - struct iio_chan_spec const *chan, - int *val, - int *val2, - long mask) +static int spear_adc_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int *val, + int *val2, + long mask) { struct spear_adc_state *st = iio_priv(indio_dev); u32 status; @@ -252,7 +252,7 @@ static int spear_adc_configure(struct spear_adc_state *st) } static const struct iio_info spear_adc_info = { - .read_raw = &spear_read_raw, + .read_raw = &spear_adc_read_raw, .write_raw = &spear_adc_write_raw, .driver_module = THIS_MODULE, }; |