• Stephen Warren's avatar
    pinctrl: tegra: driver layout/consistency fixes · 8d4684b3
    Stephen Warren authored
    Various non-semantic tweaks and layout/consistency fixes for existing
    Tegra pinctrl drivers.
    
    Move the definition of DRV_PINGROUP_REG() before the definition of
    PINGROUP() so that a future SoC driver can invoke the former from the
    latter.
    
    PINGROUP_BIT_Y(n) is just n, so replace it with n.
    
    Re-wrap the parameters to *PINGROUP().
    
    Keep various enums sorted in the Tegra124 driver.
    
    Various white-space consistency fixes.
    
    These changes aim to update existing drivers to be consistent with future
    SoC drivers. While we could ignore these tweaks to the existing drivers,
    I'd like to keep everything as consistent as possible for easy comparison.
    Besides, I auto-generate the drivers, and maintaining special-cases to
    keep the differences in place is annoying.
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Tested-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    8d4684b3
pinctrl-tegra30.c 85.8 KB