Skip to content
Snippets Groups Projects
Commit 24b6d74c authored by Benjamin Schwartz's avatar Benjamin Schwartz Committed by William McVicker
Browse files

usb: typec: tcpci_max77759: Set init_name to fix uninformative kernel wakelock


Bug: 315190967
Change-Id: I987cfe3925e03866c5cc9a60945059706942b826
Signed-off-by: default avatarBenjamin Schwartz <bsschwar@google.com>
parent f7dcd38b
No related branches found
No related tags found
No related merge requests found
......@@ -2725,6 +2725,7 @@ static int max77759_probe(struct i2c_client *client,
return -ENOMEM;
chip->client = client;
chip->client->dev.init_name = "i2c-max77759tcpc";
chip->data.regmap = devm_regmap_init_i2c(client,
&max77759_regmap_config);
if (IS_ERR(chip->data.regmap)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment