[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+4SzL2zDC1xVmk7@kroah.com>
Date: Thu, 16 Feb 2023 12:26:04 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Pawel Laszczak <pawell@...ence.com>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
Daisy.Barrera@...iusxm.com, Cliff.Holden@...iusxm.com,
arnd@...db.de, tony@...mide.com, jdelvare@...e.de,
neal_liu@...eedtech.com, linus.walleij@...aro.org,
egtvedt@...fundet.no, biju.das.jz@...renesas.com,
herve.codina@...tlin.com
Subject: Re: [PATCH 2/4] usb: cdns2: Add main part of Cadence USBHS driver
On Thu, Feb 16, 2023 at 05:54:09AM -0500, Pawel Laszczak wrote:
> +static void cdns2_pci_remove(struct pci_dev *pdev)
> +{
> + struct cdns2_device *priv_dev;
> +
> + priv_dev = (struct cdns2_device *)pci_get_drvdata(pdev);
Nit, no need to cast for this.
thanks,
greg k-h
Powered by blists - more mailing lists