From: Laxman Dewangan Date: Fri, 20 Sep 2013 12:30:10 +0000 (+0530) Subject: regmap: add helper macro to set min/max range of register X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~17^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6112fe60ac1bd1e68da8cc4248289d6e48015f9b;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed