w1: coding style and checkpatch fixes
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 11 patches 0 repliesNew
Changes in v2 from the cover letter
- addressed comments from Joe Perches:
- re-ran checkpatch.pl in --strict mode
- fixed commit messages to reflect more precisly the checkpatch warnings
Patches in v2 No applies recorded yet
None of the 11 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/11] w1: coding style and checkpatch fixes
Hi,
This is my first series of patches for the Linux kernel. I started by familiarizing myself with coding style and satisfying my inner OCD by cleaning the 1-wire subsystem.
Cheers,
Steffen
---
Changes since v1:
- addressed comments from Joe Perches:
- re-ran checkpatch.pl in --strict mode
- fixed commit messages to reflect more precisly the checkpatch warnings
Steffen Vogel (12):
w1: add SPDX identifiers
w1: improve code-style by adhering tp 80 columns per line limit
w1: add newlines after declarations
w1: cleanup whitespaces according to coding style document
w1: use octal numbers instead of macros for file mode
w1: do not log errors about failed memory allocations
w1: use __func__ for logging the function name
w1: improve code-style of struct declarations
w1: using linux instead of asm prefix for includes
w1: use pointers instead of types to determine size of allocs
w1: replace non-standard %LX format-string by %llX
w1: fix typo in comment
drivers/w1/masters/ds1wm.c | 5 +- drivers/w1/masters/ds2482.c | 7 +- drivers/w1/masters/ds2490.c | 16 +-- drivers/w1/masters/matrox_w1.c | 16 +-- drivers/w1/masters/mxc_w1.c | 10 +- drivers/w1/masters/omap_hdq.c | 7 +- drivers/w1/masters/w1-gpio.c | 5 +- drivers/w1/slaves/w1_ds2405.c | 12 +- drivers/w1/slaves/w1_ds2406.c | 4 +- drivers/w1/slaves/w1_ds2408.c | 4 +- drivers/w1/slaves/w1_ds2413.c | 4 +- drivers/w1/slaves/w1_ds2423.c | 15 +-- drivers/w1/slaves/w1_ds2431.c | 4 +- drivers/w1/slaves/w1_ds2433.c | 4 +- drivers/w1/slaves/w1_ds2438.c | 4 +- drivers/w1/slaves/w1_ds2780.c | 6 +- drivers/w1/slaves/w1_ds2781.c | 6 +- drivers/w1/slaves/w1_ds2805.c | 4 +- drivers/w1/slaves/w1_ds28e04.c | 4 +- drivers/w1/slaves/w1_ds28e17.c | 4 +- drivers/w1/slaves/w1_smem.c | 16 +-- drivers/w1/slaves/w1_therm.c | 16 +-- drivers/w1/w1.c | 272 +++++++++++++++++++++++------------------ drivers/w1/w1_family.c | 15 +-- drivers/w1/w1_int.c | 34 ++---- drivers/w1/w1_internal.h | 11 +- drivers/w1/w1_io.c | 86 ++++++------- drivers/w1/w1_netlink.c | 64 +++++----- drivers/w1/w1_netlink.h | 39 +++--- 29 files changed, 283 insertions(+), 411 deletions(-)
Signature · 1 line
2.11.0