commit | 963399b2c23b36b9a2d8c873826673964c600770 | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Sun Mar 15 17:01:54 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 17 14:07:55 2020 +0100 |
tree | 618a51c692e574cbe5b461807c3252eb3d837e4e | |
parent | a825aa56de88c484d64074d816152bd8d09bce9b [diff] |
staging: mt7621-pci-phy: add 'mt7621_phy_rmw' to simplify code In order to simplify driver code and decrease a bit LOC add new function 'mt7621_phy_rmw' where clear and set bits are passed as arguments. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20200315160154.10292-1-sergio.paracuellos@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>