Skip to content

Commit

Permalink
i2c: fix spelling mistake: "insufficent" -> "insufficient"
Browse files Browse the repository at this point in the history
Trivial fix to spelling mistake in WARN message, insufficient has
an insufficient number of i's in the spelling.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Colin Ian King authored and Wolfram Sang committed Jan 12, 2017
1 parent 6f724fb commit 2659161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@ int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb)
int ret;

if (!client || !slave_cb) {
WARN(1, "insufficent data\n");
WARN(1, "insufficient data\n");
return -EINVAL;
}

Expand Down

0 comments on commit 2659161

Please sign in to comment.