x86/platform/intel-mid: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 15 Jun 2020 07:58:12 +0000 (09:58 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 19 Jun 2020 07:20:25 +0000 (09:20 +0200)
commitf04a5ba1752512a46ffb61b88a8fa7d4ab7e02f3
treee44de49518709ee5206c0cb92a7d73e489e35cca
parentbb7d93fff62f32f4ff0072b2ace695bd5f5137e7
x86/platform/intel-mid: convert to use i2c_new_client_device()

Move away from the deprecated API and return the shiny new ERRPTR where
useful.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
arch/x86/platform/intel-mid/sfi.c