• Masahiro Yamada's avatar
    pinctrl: pinconf: separate config parameters with commas for debugfs · a672eb5e
    Masahiro Yamada authored
    To improve debugfs readability, use commas instead of whitespaces
    for separating configuration parameters.
    
    For example, the "pinconf-pins" dump on my board will change as follows:
    
    Without this commit:
    
     # head -5 pinconf-pins
     Pin config settings per pin
     Format: pin (name): configs
     pin 0 (ED0): input bias pull down output drive strength (8 mA) input enabled
     pin 1 (ED1): input bias pull down output drive strength (8 mA) input enabled
     pin 2 (ED2): input bias pull down output drive strength (8 mA) input enabled
    
    With this commit:
    
     # head -5 pinconf-pins
     Pin config settings per pin
     Format: pin (name): configs
     pin 0 (ED0): input bias pull down, output drive strength (8 mA), input enabled
     pin 1 (ED1): input bias pull down, output drive strength (8 mA), input enabled
     pin 2 (ED2): input bias pull down, output drive strength (8 mA), input enabled
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    a672eb5e
pinconf.c 15.6 KB