[PATCH 0/1] platform: replace i2c_new_probed_device with an ERR_PTR variant

From: Wolfram Sang
Date: Mon Dec 16 2019 - 07:30:08 EST


In the on-going mission to let i2c_new_* calls return an ERR_PTR instead of
NULL, here is a series for this subsystem converting i2c_new_probed_device() to
the newly introduced i2c_new_scanned_device(). Based on v5.5-rc1 and build tested.
Please apply via your tree.

Thanks,

Wolfram


Wolfram Sang (1):
platform: chrome: convert to i2c_new_scanned_device

drivers/platform/chrome/chromeos_laptop.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)

--
2.20.1