OSDN Git Service

mfd: da9062: Use core helper regmap_reg_range macros
authorSteve Twiss <stwiss.opensource@diasemi.com>
Wed, 28 Mar 2018 11:03:09 +0000 (12:03 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commitb16d23931b7ee5acf17432c3a6b5c6edb204aa35
tree112e1d2cb4c8de4305b617ae25eb4655182c59e6
parentc18604660ad02324dfc21de5dfd0c8d15e9070a5
mfd: da9062: Use core helper regmap_reg_range macros

Replace multi-line entries in the regmap_range arrays with single
line macros: regmap_reg_range(). This will leave the static structure
array entries for regmap_range unaltered. It will significantly reduce
the line count in the DA9062/61 core file.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9062-core.c