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

Matthias Kaehlcke mka at chromium.org
Thu Feb 29 08:18:58 PST 2024


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 at wolfvision.net>

Acked-by: Matthias Kaehlcke <mka at chromium.org>



More information about the linux-arm-kernel mailing list