Thread (6 messages) flat view 6 messages, 3 authors, 2016-08-09

[PATCH V2] usb: ehci-platform: use helper variables in probe function

From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2016-08-09 14:00:02
Also in: lkml

On Fri, Jul 15, 2016 at 07:05:56AM +0200, Rafa? Mi?ecki wrote:
Probing function was using &dev->dev and dev->dev.of_node over 20 times
so I believe it made sense to use helper variables for both of them.
To avoid some uncommon variable name for struct device I first replaced
existing dev variable with pdev.

Signed-off-by: Rafa? Mi?ecki <zajec5@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
---
V2: Use 2 extra tabs after line break to match one of already used
    coding styles.
Same comment here, unnecessary churn, sorry.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help