]> git.baikalelectronics.ru Git - kernel.git/commit
platform/mellanox: mlxreg-hotplug: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 26 Mar 2020 21:09:52 +0000 (22:09 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 26 Apr 2020 08:58:49 +0000 (10:58 +0200)
commit63e35d1fa96b7037a53c3368ca8ebf5bb5626efe
treefbffe891d9a96b77a6ec457f39ef0fc33e3c1dfb
parent342d155961d713cb8ed4b9a4b5b36adc0ca4ebb9
platform/mellanox: mlxreg-hotplug: 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>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/platform/mellanox/mlxreg-hotplug.c