[PATCH 0/9] pinctrl: Fine-tuning for some function implementations
From: SF Markus Elfring
Date: Tue May 02 2017 - 05:21:03 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 May 2017 11:16:54 +0200
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (9):
Use seq_putc() in three functions
Combine two seq_puts() calls into one call in two functions
Combine five seq_printf() calls into one call in pinconf_dbg_config_print()
Replace two seq_printf() calls by seq_puts() in pinconf_show_map()
Adjust five checks for null pointers
Combine substrings for a message in pin_config_group_get()
Add spaces for better code readability
core: Use seq_putc() in pinctrl_maps_show()
core: Adjust nine checks for null pointers
drivers/pinctrl/core.c | 20 ++++++++--------
drivers/pinctrl/pinconf.c | 61 ++++++++++++++++++++++++-----------------------
2 files changed, 41 insertions(+), 40 deletions(-)
--
2.12.2