diff options
author | Corey Minyard <cminyard@mvista.com> | 2019-04-24 19:21:13 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-04-24 19:29:24 +0200 |
commit | ed6c3a6d8996659e3bbf4214ba26b5e5a7440b26 (patch) | |
tree | 653eb1b4d5e8ad7a63050e42fb184b3b24b3212f /drivers/char/ipmi/ipmi_ssif.c | |
parent | ipmi:ssif: Only unregister the platform driver if it was registered (diff) | |
download | linux-ed6c3a6d8996659e3bbf4214ba26b5e5a7440b26.tar.xz linux-ed6c3a6d8996659e3bbf4214ba26b5e5a7440b26.zip |
ipmi: Remove warning if no slave address is present
It's just noise, really, lots of systems don't have it.
Reported-by: Kamlakant Patel <kamlakantp@marvell.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_ssif.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index be329f791c95..cf8156d6bc07 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -1995,7 +1995,7 @@ static int dmi_ipmi_probe(struct platform_device *pdev) rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); if (rv) - dev_warn(&pdev->dev, "device has no slave-addr property"); + slave_addr = 0x20; return new_ssif_client(i2c_addr, NULL, 0, slave_addr, SI_SMBIOS, &pdev->dev); |