Re: [PATCH v6 1/9] usb: misc: onboard_hub: use pointer consistently in the probe function

From: Matthias Kaehlcke
Date: Thu Feb 29 2024 - 11:24:15 EST


On Thu, Feb 29, 2024 at 09:34:44AM +0100, Javier Carrasco wrote:
> Commit 14485de431b0 ("usb: Use device_get_match_data()") overlooked the
> already existing pointer to pdev->dev 'dev'.
>
> Use the existing pointer 'dev' in device_get_match_data() to keep code
> consistency.
>
> Signed-off-by: Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>

Acked-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>