Messages in this thread | | | Date | Thu, 28 Nov 2019 17:16:42 +0100 | From | Wolfram Sang <> | Subject | Re: [RFC PATCH 01/12] i2c: replace i2c_new_probed_device with an ERR_PTR variant |
| |
On Wed, Nov 06, 2019 at 10:50:19AM +0100, Wolfram Sang wrote: > In the general move to have i2c_new_*_device functions which return > ERR_PTR instead of NULL, this patch converts i2c_new_probed_device(). > > There are only few users, so this patch converts the I2C core and all > users in one go. The function gets renamed to i2c_new_scanned_device() > so out-of-tree users will get a build failure to understand they need to > adapt their error checking code. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Eeks, this nearly slipped through the cracks because I marked it as RFC in patchwork...
Applied to for-next, thanks!
[unhandled content-type:application/pgp-signature] | |