[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191216122950.3613-1-wsa+renesas@sang-engineering.com>
Date: Mon, 16 Dec 2019 13:29:48 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-i2c@...r.kernel.org
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/1] input: replace i2c_new_probed_device with an ERR_PTR variant
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
Changes since RFC:
* use a local variable and populate the private struct only on success
(Thanks Dmitry!)
* rebased to v5.5-rc1
Wolfram Sang (1):
input: mouse: convert to i2c_new_scanned_device
drivers/input/mouse/psmouse-smbus.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.20.1
Powered by blists - more mailing lists