commit | 6112fe60ac1bd1e68da8cc4248289d6e48015f9b | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri Sep 20 18:00:10 2013 +0530 |
committer | Mark Brown <broonie@linaro.org> | Fri Sep 20 17:50:46 2013 +0100 |
tree | 71b9eb2ed44cda8d5f323bafaa2408b9215830ee | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f [diff] |
regmap: add helper macro to set min/max range of register Add helper macro to set the min and max value of the register range. This is useful when initialising the register ranges of the device like static const struct regmap_range readable_ranges[] = { regmap_reg_range(DEVICE_REG0, DEVICE_REG10), }; Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>