Re: [PATCH v3 3/3] usb: typec: tipd: rely on i2c_get_match_data()

From: Dmitry Baryshkov
Date: Mon Apr 29 2024 - 12:36:21 EST


On Mon, Apr 29, 2024 at 03:35:59PM +0200, Javier Carrasco wrote:
> The first thing i2c_get_match_data() does is calling
> device_get_match_data(), which already checks if there is a fwnode.
>
> Remove explicit usage of device_get_match_data() as it is already
> included in i2c_get_match_data().
>
> Signed-off-by: Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>
> ---
> drivers/usb/typec/tipd/core.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry