Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: dwc: Code clean up
@ 2018-05-14 15:09 Gustavo Pimentel
  2018-05-14 15:09 ` [PATCH 1/3] PCI: dwc: Replace lower into upper case characters Gustavo Pimentel
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Gustavo Pimentel @ 2018-05-14 15:09 UTC (permalink / raw)
  To: bhelgaas, lorenzo.pieralisi, Joao.Pinto, jingoohan1
  Cc: linux-pci, Gustavo Pimentel

Does a code cleanup on DesignWare driver, which involves:
 - Replacement of magic numbers by a self-explained define to ease human
comprehension.
 - Replacement a division by 2 operation for a right shift rotation of 1
bit.
 - Replacement of all initial lowercase character in comments and debug
messages to uppercase to maintain coherence.

Gustavo Pimentel (3):
  PCI: dwc: Replace lower into upper case characters
  PCI: dwc: Small computation improvement
  PCI: dwc: Replace magic number by defines

 drivers/pci/dwc/pcie-designware-ep.c   | 16 +++----
 drivers/pci/dwc/pcie-designware-host.c | 77 +++++++++++++++++++---------------
 drivers/pci/dwc/pcie-designware.c      | 22 +++++-----
 drivers/pci/dwc/pcie-designware.h      |  1 +
 4 files changed, 63 insertions(+), 53 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-14 16:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 15:09 [PATCH 0/3] PCI: dwc: Code clean up Gustavo Pimentel
2018-05-14 15:09 ` [PATCH 1/3] PCI: dwc: Replace lower into upper case characters Gustavo Pimentel
2018-05-14 15:09 ` [PATCH 2/3] PCI: dwc: Small computation improvement Gustavo Pimentel
2018-05-14 15:09 ` [PATCH 3/3] PCI: dwc: Replace magic number by defines Gustavo Pimentel
2018-05-14 16:22   ` Joao Pinto
2018-05-14 16:23 ` [PATCH 0/3] PCI: dwc: Code clean up Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox