aboutsummaryrefslogtreecommitdiff
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-02 20:17:15 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-15 09:59:59 +0900
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 {
enum regmap_endian val_format_endian;
const struct regmap_range_cfg *ranges;
- unsigned int n_ranges;
+ unsigned int num_ranges;
};
/**