diff options
| author | Lee Jones <lee.jones@linaro.org> | 2015-10-27 16:19:31 +0000 | 
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2016-01-14 08:43:53 +0000 | 
| commit | 15544cab2880c6990704ff91c0f11c5ccc3aafad (patch) | |
| tree | adafb42ab3216237e602218b6355dc6e527fe245 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 4374b20c6c4fa8533e932567be9cd8872286da95 (diff) | |
mfd: ab3100-core.c: Fix multiple warnings reported by Checkpatch
WARNING: Missing a blank line after declarations
+       struct ab3100 *ab3100 = dev_get_drvdata(dev->parent);
+       if (!ab3100->startup_events_read)
WARNING: Possible unnecessary 'out of memory' message
+       if (!ab3100) {
+               dev_err(&client->dev, "could not allocate AB3100 device\n");
WARNING: else is not generally useful after a break or return
+                               break;
+                       } else {
total: 0 errors, 3 warnings, 996 lines checked
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
