[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0aikRq2Yi5kYW9j@kroah.com>
Date: Wed, 12 Oct 2022 13:18:41 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jim Lin <jilin@...dia.com>
Cc: thierry.reding@...il.com, jonathanh@...dia.com,
linux-tegra@...r.kernel.org, mathias.nyman@...el.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] xhci: tegra: USB2 pad power controls
On Wed, Oct 12, 2022 at 06:25:11PM +0800, Jim Lin wrote:
> +static inline struct tegra_xusb *hcd_to_tegra_xusb(struct usb_hcd *hcd)
> +{
> + return (struct tegra_xusb *) dev_get_drvdata(hcd->self.controller);
No need for the cast (and if there was, no need for the extra space).
thanks,
greg k-h
Powered by blists - more mailing lists