mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
serial: max310x: Add error checking in probe()
[ Upstream commit672a37ba8a] Check if devm_i2c_new_dummy_device() fails. Fixes:2e1f2d9a9b("serial: max310x: implement I2C support") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/aJTMPZiKqeXSE-KM@stanley.mountain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6df3687922
commit
d98ac1e1a7
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue