diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-03-10 11:50:36 +0100 |
|---|---|---|
| committer | Darren Hart <dvhart@infradead.org> | 2017-03-14 22:57:18 -0700 |
| commit | c2cddd4f7d686ae7185af44885894202b5c8af63 (patch) | |
| tree | 0786a5f058bfe08bceed3e7bb2df3789818ea0fe /tools/perf/scripts/python | |
| parent | platform/x86: fujitsu-laptop: only register backlight device if FUJ02B1 is pr... (diff) | |
| download | linux-c2cddd4f7d686ae7185af44885894202b5c8af63.tar.gz linux-c2cddd4f7d686ae7185af44885894202b5c8af63.zip | |
platform/x86: fujitsu-laptop: cleanup error labels in fujitsu_init()
Error labels currently used in fujitsu_init() are really hard to follow:
some (fail_laptop) indicate which operation has failed, others
(fail_sysfs_group) indicate where unrolling should start and the rest
(fail_platform_driver) is simply confusing. Change them to follow the
pattern used throughout the rest of the module, i.e. make every label
indicate the first unrolling operation it leads to.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-and-tested-by: Jonathan Woithe <jwoithe@just42.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
