Commit e20d6090 authored by Jonathan Cameron's avatar Jonathan Cameron

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: default avatarJonathan Cameron <jic23@kernel.org>
Acked-by: default avatarHartmut Knaack <knaack.h@gmx.de>
parent e90ba52f
...@@ -136,11 +136,11 @@ static void spear_adc_set_scanrate(struct spear_adc_state *st, u32 rate) ...@@ -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, static int spear_adc_read_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan, struct iio_chan_spec const *chan,
int *val, int *val,
int *val2, int *val2,
long mask) long mask)
{ {
struct spear_adc_state *st = iio_priv(indio_dev); struct spear_adc_state *st = iio_priv(indio_dev);
u32 status; u32 status;
...@@ -252,7 +252,7 @@ static int spear_adc_configure(struct spear_adc_state *st) ...@@ -252,7 +252,7 @@ static int spear_adc_configure(struct spear_adc_state *st)
} }
static const struct iio_info spear_adc_info = { 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, .write_raw = &spear_adc_write_raw,
.driver_module = THIS_MODULE, .driver_module = THIS_MODULE,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment