]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - switch to using i2c_new_scanned_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 10 Feb 2020 17:57:23 +0000 (09:57 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Feb 2020 18:00:23 +0000 (10:00 -0800)
commita55f1aa5b8207a1ceb523da44bb8d5d09df89105
tree5fa6eea281e59a4576a0f6d3eeda5a44a74e38c9
parent4d01160123a39f028a33941e49d3a5440b4c1b91
Input: psmouse - switch to using i2c_new_scanned_device()

Move from the deprecated i2c_new_probed_device() to the new
i2c_new_scanned_device(). Make use of the new ERRPTR if suitable.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20200210165902.5250-1-wsa+renesas@sang-engineering.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-smbus.c