summaryrefslogtreecommitdiff
path: root/include/dt-bindings/spmi
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-07 10:56:38 +0000
committerDavid S. Miller <davem@davemloft.net>2017-02-07 14:04:29 -0500
commit1f02b5f42f53af516c4f5f747390e66d7a8f0bfe (patch)
treea1391b54ede82b4cb1dc8d891b73f46100e41337 /include/dt-bindings/spmi
parentee467fbaaf8eed86efc335753bd95971aa444f7a (diff)
net: bridge: remove redundant check to see if err is set
The error check on err is redundant as it is being checked previously each time it has been updated. Remove this redundant check. Detected with CoverityScan, CID#140030("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/spmi')
0 files changed, 0 insertions, 0 deletions
er several drivers don't define a value for bypass_val_on. This results in those drivers reporting bypass being enabled when it is not. In regulator_set_bypass_regmap we use bypass_mask if bypass_val_on is zero. This patch adds similar handling in regulator_get_bypass_regmap. Fixes: commit dd1a571daee7 ("regulator: helpers: Ensure bypass register field matches ON value") Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/Documentation/perf-probe.txt')