Re: [PATCH v2 0/7] PCI: dra7xx: Cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 12, 2016 at 08:32:31AM -0500, Bjorn Helgaas wrote:
>   - Add local "dev" pointers to reduce repetition of things like
>     "&pdev->dev".
> 
>   - Remove redundant struct members.
> 
>   - Use generic DesignWare accessors when possible.
> 
>   - Pass device-specific struct to internal functions for consistency.
> 
>   - Move struct pcie_port setup to probe function for consistency.
> 
> Nothing here should change the behavior of the driver.
> 
> Changes from v1:
>   I dropped the following patches because they were a lot of churn for
>   questionable benefit:
>     PCI: dra7xx: Rename accessors
>     PCI: dra7xx: Name private struct pointer "dra7xx" consistently
> 
> ---
> 
> Bjorn Helgaas (7):
>       PCI: dra7xx: Add local struct device pointers
>       PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie
>       PCI: dra7xx: Set drvdata at end of probe function
>       PCI: dra7xx: Use generic DesignWare accessors
>       PCI: dra7xx: Pass device-specific struct to internal functions
>       PCI: dra7xx: Move struct pcie_port setup to probe function
>       PCI: dra7xx: Reorder struct dra7xx_pcie
> 
> 
>  drivers/pci/host/pci-dra7xx.c |  103 ++++++++++++++++++-----------------------
>  1 file changed, 45 insertions(+), 58 deletions(-)

I applied these to pci/host-dra7xx for v4.9.  I hope to ask Linus to
pull them tomorrow, so if you see any issues, let me know soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux