]> 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)
commit8aec6e40d6317c401e8c0ee2caa27b8a5ec966fd
treefbffe891d9a96b77a6ec457f39ef0fc33e3c1dfb
parent3fd3919b1b10c6ecb633991bad06e30174aa03d7
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