Skip to content

Commit

Permalink
i2c: Don't print in i2c_device_uevent
Browse files Browse the repository at this point in the history
CONFIG_I2C_DEBUG_CORE + systemd-journald = infinite loop

Signed-off-by: Jeremy Kerr <[email protected]>
  • Loading branch information
jk-ozlabs authored and shenki committed Nov 13, 2015
1 parent c4777f9 commit a7534b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
if (add_uevent_var(env, "MODALIAS=%s%s",
I2C_MODULE_PREFIX, client->name))
return -ENOMEM;
dev_dbg(dev, "uevent\n");
return 0;
}

Expand Down

0 comments on commit a7534b2

Please sign in to comment.