diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2016-07-05 13:55:44 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-10 14:51:12 +0100 |
commit | f6127704320f70993a68abf6d17c89df461580a7 (patch) | |
tree | c6c18f3f4a248f396102a10667cf19a784a0c0d0 /drivers/staging/iio | |
parent | b9b689c12794bbe9605ff906da23a4e8a97ecebe (diff) | |
download | blackbird-op-linux-f6127704320f70993a68abf6d17c89df461580a7.tar.gz blackbird-op-linux-f6127704320f70993a68abf6d17c89df461580a7.zip |
staging: iio: isl29028: Prefix functions
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/light/isl29028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index 7358c3b36b50..a238b16ff2da 100644 --- a/drivers/staging/iio/light/isl29028.c +++ b/drivers/staging/iio/light/isl29028.c @@ -462,7 +462,7 @@ static int isl29028_chip_init(struct isl29028_chip *chip) return ret; } -static bool is_volatile_reg(struct device *dev, unsigned int reg) +static bool isl29028_is_volatile_reg(struct device *dev, unsigned int reg) { switch (reg) { case ISL29028_REG_INTERRUPT: @@ -478,7 +478,7 @@ static bool is_volatile_reg(struct device *dev, unsigned int reg) static const struct regmap_config isl29028_regmap_config = { .reg_bits = 8, .val_bits = 8, - .volatile_reg = is_volatile_reg, + .volatile_reg = isl29028_is_volatile_reg, .max_register = ISL29028_NUM_REGS - 1, .num_reg_defaults_raw = ISL29028_NUM_REGS, .cache_type = REGCACHE_RBTREE, |