summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index 8fc4e92..c9b5de3 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -870,10 +870,10 @@ static void screen_percpu_states(WINDOW *screen, const struct ifstat *rel,
all = m_cpu_user + m_cpu_sys + m_cpu_nice + m_cpu_idle + m_cpu_iow;
mvwprintw(screen, (*voff)++, 2,
- "med: %14.1lf%% "
+ "med:%*s%14.1lf%% "
"%9.1lf%% "
"%10.1lf%% "
- "%11.1lf%%",
+ "%11.1lf%%", max_padd, "",
100.0 * (m_cpu_user + m_cpu_nice) / all,
100.0 * m_cpu_sys / all,
100.0 * m_cpu_idle /all,
es?h=nds-private-remove&id=43ba588346455dcc984dc98a49af1c2eb1e9aa75&id2=e3a888a4bff0bef0b256d55c58bc32c99fb44ece'>diff)
Input: silead_gsl1680 - document firmware-name, fix implementation
The driver has supported touchscreen-fw-name to specify the firmware to load since it has been merged, but this was omitted from the dt-binding documentation. During review of adding touchscreen-fw-name to the binding documentation it was brought up that there is a standard property name called "firmware-name" for this, which should be used. Since there are no users of touchscreen-fw-name yet, this commit adds documentation of "firmware-name" to the dt-binding documentation and switches the driver over to use this. This commit also makes the driver add a "silead/" prefix to the firmware name from dt before calling request_firmware. That the firmware files are stored under /lib/firmware/silead under Linux is an implementation detail and does not belong in devicetree. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/i2c/fault-codes')