[PATCH v2 00/11] w1: coding style and checkpatch fixes
From: Steffen Vogel
Date: Sun Oct 28 2018 - 23:12:28 EST
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(-)
--
2.11.0