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: NWolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: NMichael Ellerman <mpe@ellerman.id.au>
Showing
想要评论请 注册 或 登录