summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown2012-10-02 21:17:15 +0200
committerMark Brown2012-10-15 02:59:59 +0200
commite3549cd01347ef211d01353bdf2572b086574007 (patch)
tree6e80f8676713fc505ecd38295116ee6b5a5bdf82 /include/linux/regmap.h
parentLinux 3.7-rc1 (diff)
downloadkernel-qcow2-linux-e3549cd01347ef211d01353bdf2572b086574007.tar.gz
kernel-qcow2-linux-e3549cd01347ef211d01353bdf2572b086574007.tar.xz
kernel-qcow2-linux-e3549cd01347ef211d01353bdf2572b086574007.zip
regmap: Rename n_ranges to num_ranges
This makes things consistent with the rest of the API and is actually what the documentation says. We don't currently have any in tree users so low cost. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index e3bcc3f4dcb8..afc8e1a2cd1b 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -133,7 +133,7 @@ struct regmap_config {
enum regmap_endian val_format_endian;
const struct regmap_range_cfg *ranges;
- unsigned int n_ranges;
+ unsigned int num_ranges;
};
/**