video: fbdev: matrox: convert to i2c_new_scanned_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 6 Nov 2019 09:50:23 +0000 (10:50 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 28 Nov 2019 16:19:20 +0000 (17:19 +0100)
commita72e27f7a47069b1b4942051bffa7dc77b4aee0c
treef874e055de06ef652c6a4b6fb217609059aadc03
parentce668524bf79e7739fdceb406b4f9d6cd6ba6cc0
video: fbdev: matrox: convert to 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>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/video/fbdev/matrox/i2c-matroxfb.c