public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jim Lin <jilin@nvidia.com>
Cc: thierry.reding@gmail.com, jonathanh@nvidia.com,
	linux-tegra@vger.kernel.org, mathias.nyman@intel.com,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] xhci: tegra: USB2 pad power controls
Date: Wed, 12 Oct 2022 13:18:41 +0200	[thread overview]
Message-ID: <Y0aikRq2Yi5kYW9j@kroah.com> (raw)
In-Reply-To: <20221012102511.3093-1-jilin@nvidia.com>

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

  reply	other threads:[~2022-10-12 11:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12 10:25 [PATCH v3] xhci: tegra: USB2 pad power controls Jim Lin
2022-10-12 11:18 ` Greg KH [this message]
2022-10-12 11:43   ` Jon Hunter
2022-10-14  9:41     ` Jim Lin
2022-10-12 11:45 ` Jon Hunter
2022-10-17  9:36   ` Jim Lin
2022-10-17 20:17     ` Jon Hunter
2022-10-18  3:20       ` Jim Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y0aikRq2Yi5kYW9j@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=jilin@nvidia.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox