aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-02 15:17:15 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-14 20:59:59 -0400
commite3549cd01347ef211d01353bdf2572b086574007 (patch)
tree6e80f8676713fc505ecd38295116ee6b5a5bdf82 /include/linux/regmap.h
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
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 {
133 enum regmap_endian val_format_endian; 133 enum regmap_endian val_format_endian;
134 134
135 const struct regmap_range_cfg *ranges; 135 const struct regmap_range_cfg *ranges;
136 unsigned int n_ranges; 136 unsigned int num_ranges;
137}; 137};
138 138
139/** 139/**