Skip to content

Commit

Permalink
staging:iio:adc:spear rename spear_read_raw to spear_adc_read_raw
Browse files Browse the repository at this point in the history
This brings it inline with all the other prefix usage in the driver.

Signed-off-by: Jonathan Cameron <[email protected]>
Acked-by: Hartmut Knaack <[email protected]>
  • Loading branch information
jic23 committed Apr 7, 2014
1 parent e90ba52 commit e20d609
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/staging/iio/adc/spear_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
};
Expand Down

0 comments on commit e20d609

Please sign in to comment.