Message ID | 1577647277-8298-2-git-send-email-dev.kurt@vandijck-laurijssen.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/6] cap11xx: set device driver_data | expand |
diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index 688e2be..16287ab 100644 --- a/drivers/input/keyboard/cap11xx.c +++ b/drivers/input/keyboard/cap11xx.c @@ -346,6 +346,8 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client, if (!priv) return -ENOMEM; + i2c_set_clientdata(i2c_client, priv); + priv->regmap = devm_regmap_init_i2c(i2c_client, &cap11xx_regmap_config); if (IS_ERR(priv->regmap)) return PTR_ERR(priv->regmap);
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> --- drivers/input/keyboard/cap11xx.c | 2 ++ 1 file changed, 2 insertions(+)