macintosh: convert to i2c_new_scanned_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 10 Feb 2020 17:04:01 +0000 (18:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 26 Mar 2020 11:36:20 +0000 (12:36 +0100)
commit624d1be7a126640a1ea95fa8373d4ce9e7b106d0
treed638617d4694667e6c2c2d9c596834fa5680a536
parent6d7e0a34206d4a5d0c619c0608eae57f4c557064
macintosh: convert to i2c_new_scanned_device

Move from the deprecated i2c_new_probed_device() to the new
i2c_new_scanned_device(). No functional change for this driver because
it doesn't check the return code anyhow.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/therm_windtunnel.c