]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging:iio:adc:spear rename spear_read_raw to spear_adc_read_raw
authorJonathan Cameron <jic23@kernel.org>
Sun, 4 May 2014 16:45:00 +0000 (17:45 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 7 Apr 2014 18:10:16 +0000 (19:10 +0100)
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>
drivers/staging/iio/adc/spear_adc.c

index 52c26a6b7c1fb5215c4a0575114a9586c346bf5a..c5492ba50751d3b9c415e15d4e43f5fed277ca58 100644 (file)
@@ -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,
 };