[PATCH v2 0/4] staging: mt7621-pci-phy: driver cleanups

Sergio Paracuellos sergio.paracuellos at gmail.com
Wed Apr 17 11:58:34 UTC 2019


This series makes some cleanups pointed out here from Kishon Vijay
Abraham I:

* https://lkml.org/lkml/2019/4/17/53

Changes in v2:
    - add patch to make use of regmap API instead of readl and writel.

Other changes:
    - make use of platform_get_resource.
    - make use of soc_device_match.
    - clean a bit error paths and not needed locals in 'probe' function.

This changes have been only compile-tested.

Hope this helps.

Best regards,
    Sergio Paracuellos

Sergio Paracuellos (4):
  staging: mt7621-pci-phy: use 'platform_get_resource'
  staging: mt7621-pci-phy: remove some unnecessary local variables
  staging: mt7621-pci-phy: add quirks for 'E2' revision using
    'soc_device_attribute'
  staging: mt7621-pci-phy: convert driver to use kernel regmap API's

 .../staging/mt7621-pci-phy/pci-mt7621-phy.c   | 132 ++++++++++--------
 1 file changed, 77 insertions(+), 55 deletions(-)

-- 
2.19.1



More information about the devel mailing list