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 /net/lapb/lapb_iface.c | |
| parent | aea3137c2cb641e69b80ee5b3c376120034e458d (diff) | |
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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
