CHECK: struct mutex definition without comment #111: FILE: drivers/gpio/gpio-nct6694.c:40: + struct mutex lock; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #280: FILE: drivers/gpio/gpio-nct6694.c:209: + return -ENOTSUPP; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #399: FILE: drivers/gpio/gpio-nct6694.c:328: + return -ENOTSUPP; WARNING: line length of 83 exceeds 80 columns #424: FILE: drivers/gpio/gpio-nct6694.c:353: + nct6694_write_msg(data->nct6694, &cmd_hd, &data->irq_trig_falling); WARNING: line length of 82 exceeds 80 columns #427: FILE: drivers/gpio/gpio-nct6694.c:356: + nct6694_write_msg(data->nct6694, &cmd_hd, &data->irq_trig_rising); WARNING: line length of 83 exceeds 80 columns #497: FILE: drivers/gpio/gpio-nct6694.c:426: + return dev_err_probe(dev, ret, "Failed to get irq trigger type\n"); total: 0 errors, 5 warnings, 1 checks, 490 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 8acfc7fa83d0 ("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, 5 warnings, 1 checks, 490 lines checked