lkml.org 
[lkml]   [2022]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-10-12 13:18    [W:0.148 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site