diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-02-03 21:56:56 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-04 10:21:33 +0100 |
commit | 65c7713a5079278eee3146092fc4df2627b42604 (patch) | |
tree | a1afa87ae8785519a8c0c06c63006e600f89d088 /drivers/platform/surface/aggregator/ssh_packet_layer.c | |
parent | 921f70ffe8901f98f7552194cc0458c4a145145e (diff) |
platform/x86: ideapad-laptop: fix checkpatch warnings, more consistent style
Fix all checkpatch warnings. Reorder variable definitions from
longest to shortest. Add more whitespaces for better readability.
Rename variables named `ret` to `err` where appropriate. Reorder
sysfs attributes show/store callbacks and the `ideapad_attributes`
array in lexicographic order. And other minor formatting changes.
No significant functional changes are intended.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-25-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.c')
0 files changed, 0 insertions, 0 deletions