diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-14 09:14:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-14 09:14:43 +0200 |
commit | 99289bf1a76c0aea6ac0f77335b8c9bdca16aac7 (patch) | |
tree | 69b9484abfd6014154b925fdc0733438ffdf923f /drivers/hwmon/pmbus/q54sj108a2.c | |
parent | vt: vt_kern.h, remove the repeated declaration (diff) | |
parent | Linux 5.13-rc6 (diff) | |
download | linux-99289bf1a76c0aea6ac0f77335b8c9bdca16aac7.tar.xz linux-99289bf1a76c0aea6ac0f77335b8c9bdca16aac7.zip |
Merge tag 'v5.13-rc6' into tty-next
We want the tty fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/pmbus/q54sj108a2.c')
-rw-r--r-- | drivers/hwmon/pmbus/q54sj108a2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/q54sj108a2.c b/drivers/hwmon/pmbus/q54sj108a2.c index b6e8b20466f1..fa298b4265a1 100644 --- a/drivers/hwmon/pmbus/q54sj108a2.c +++ b/drivers/hwmon/pmbus/q54sj108a2.c @@ -299,7 +299,7 @@ static int q54sj108a2_probe(struct i2c_client *client) dev_err(&client->dev, "Failed to read Manufacturer ID\n"); return ret; } - if (ret != 5 || strncmp(buf, "DELTA", 5)) { + if (ret != 6 || strncmp(buf, "DELTA", 5)) { buf[ret] = '\0'; dev_err(dev, "Unsupported Manufacturer ID '%s'\n", buf); return -ENODEV; |