In the future i2c_acpi_new_device() will return error pointer in some cases.
Prepare i2c-multi-instantiate driver to support that.
Signed-off-by: Andy Shevchenko
Reviewed-by: Hans de Goede
---
drivers/platform/x86/i2c-multi-instantiate.c | 9 +++--
1 file changed, 7 insertions(+), 2
In the future i2c_acpi_new_device() will return error pointer in some cases.
Prepare i2c-multi-instantiate driver to support that.
Signed-off-by: Andy Shevchenko
Reviewed-by: Hans de Goede
---
drivers/platform/x86/i2c-multi-instantiate.c | 9 +++--
1 file changed, 7 insertions(+), 2
2 matches
Mail list logo