platform/x86: intel_cht_int33fe: Accept errors of i2c_acpi_new_device()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Nov 2018 11:45:22 +0000 (13:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Dec 2018 19:40:01 +0000 (21:40 +0200)
commit5ae9ce13261490e0c65d7012c366bdd3cc9e2d77
treeed1d0f8c363905319444d2de5d6355405afe249d
parent6734489667e240b14170a70dc7e72d333e93d5ad
platform/x86: intel_cht_int33fe: Accept errors of i2c_acpi_new_device()

In the future i2c_acpi_new_device() will return error pointer in some cases.
Prepare intel_cht_int33fe driver to support that.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_cht_int33fe.c