CHECK: struct mutex definition without comment #113: FILE: drivers/gpio/gpio-nct6694.c:40: + struct mutex lock; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #282: FILE: drivers/gpio/gpio-nct6694.c:209: + return -ENOTSUPP; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #401: FILE: drivers/gpio/gpio-nct6694.c:328: + return -ENOTSUPP; WARNING: line length of 83 exceeds 80 columns #426: 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 #429: 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 #504: FILE: drivers/gpio/gpio-nct6694.c:431: + return dev_err_probe(dev, ret, "Failed to get irq trigger type\n"); total: 0 errors, 5 warnings, 1 checks, 495 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 3f1fae2380cc ("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, 495 lines checked