CHECK: struct mutex definition without comment #108: FILE: drivers/gpio/gpio-nct6694.c:37: + struct mutex lock; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #270: FILE: drivers/gpio/gpio-nct6694.c:199: + return -ENOTSUPP; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #381: FILE: drivers/gpio/gpio-nct6694.c:310: + return -ENOTSUPP; WARNING: line length of 83 exceeds 80 columns #476: FILE: drivers/gpio/gpio-nct6694.c:405: + return dev_err_probe(dev, ret, "Failed to get irq trigger type\n"); WARNING: From:/Signed-off-by: email address mismatch: 'From: Ming Yu ' != 'Signed-off-by: Ming Yu ' total: 0 errors, 4 warnings, 1 checks, 470 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit a28075ac2254 ("gpio: Add Nuvoton NCT6694 GPIO support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 4 warnings, 1 checks, 470 lines checked