Re: [PATCH 04/11] drm/bridge: analogix-anx78xx: convert to i2c_new_dummy_device

From: Linus Walleij
Date: Thu Aug 15 2019 - 04:18:44 EST


On Thu, Aug 15, 2019 at 2:49 AM Brian Masney <masneyb@xxxxxxxxxxxxx> wrote:

> The i2c_new_dummy() function is deprecated since it returns NULL on
> error. Change this to use the recommended replacement
> i2c_new_dummy_device() that returns an error code that can be read with
> PTR_ERR() and friends.
>
> Signed-off-by: Brian Masney <masneyb@xxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij