Re: [PATCH] usb: ohci-platform: use helper variables in probe function

From: Alan Stern
Date: Fri Jul 15 2016 - 15:52:20 EST


On Fri, 15 Jul 2016, 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@xxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>