summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/drv2667.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-07-17 19:32:04 +0100
committerMark Brown <broonie@kernel.org>2015-07-17 19:32:04 +0100
commit41a5fefeff21bb08438383c0a6b5a06045775969 (patch)
tree6517730821e2fe9727b8485e7e12474948c51c58 /drivers/input/misc/drv2667.c
parentc418a84a8c8f98b1a0f30cd68d0cdf40d77aed01 (diff)
parent8019ff6cfc0440415fcfb6352c58c3951e6ab053 (diff)
downloadblackbird-op-linux-41a5fefeff21bb08438383c0a6b5a06045775969.tar.gz
blackbird-op-linux-41a5fefeff21bb08438383c0a6b5a06045775969.zip
Merge tag 'regmap-seq-delay-api' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into asoc-reg-default
regmap: Create a new struct reg_sequence for register sequences In order to allow us to start adding extra annotations for sequences without bloating register default tables duplicate the structure under the new name reg_sequence and update the APIs to use that instead of reg_default. Conflicts: sound/soc/codecs/da7210.c sound/soc/codecs/rt5651.c sound/soc/codecs/wm8993.c
Diffstat (limited to 'drivers/input/misc/drv2667.c')
-rw-r--r--drivers/input/misc/drv2667.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
index fc0fddf0896a..047136aa646f 100644
--- a/drivers/input/misc/drv2667.c
+++ b/drivers/input/misc/drv2667.c
@@ -262,14 +262,14 @@ static void drv2667_close(struct input_dev *input)
"Failed to enter standby mode: %d\n", error);
}
-static const struct reg_default drv2667_init_regs[] = {
+static const struct reg_sequence drv2667_init_regs[] = {
{ DRV2667_CTRL_2, 0 },
{ DRV2667_CTRL_1, DRV2667_25_VPP_GAIN },
{ DRV2667_WV_SEQ_0, 1 },
{ DRV2667_WV_SEQ_1, 0 }
};
-static const struct reg_default drv2667_page1_init[] = {
+static const struct reg_sequence drv2667_page1_init[] = {
{ DRV2667_RAM_HDR_SZ, 0x05 },
{ DRV2667_RAM_START_HI, 0x80 },
{ DRV2667_RAM_START_LO, 0x06 },
OpenPOWER on IntegriCloud