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 #286: FILE: drivers/gpio/gpio-nct6694.c:213: + return -ENOTSUPP; WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #405: FILE: drivers/gpio/gpio-nct6694.c:332: + return -ENOTSUPP; WARNING: line length of 83 exceeds 80 columns #430: FILE: drivers/gpio/gpio-nct6694.c:357: + nct6694_write_msg(data->nct6694, &cmd_hd, &data->irq_trig_falling); WARNING: line length of 82 exceeds 80 columns #433: FILE: drivers/gpio/gpio-nct6694.c:360: + nct6694_write_msg(data->nct6694, &cmd_hd, &data->irq_trig_rising); WARNING: line length of 83 exceeds 80 columns #521: FILE: drivers/gpio/gpio-nct6694.c:448: + return dev_err_probe(dev, ret, "Failed to get irq trigger type\n"); WARNING: line length of 82 exceeds 80 columns #532: FILE: drivers/gpio/gpio-nct6694.c:459: + ret = devm_request_threaded_irq(dev, data->irq, NULL, nct6694_irq_handler, total: 0 errors, 6 warnings, 1 checks, 512 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 d0a1d9986b15 ("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, 6 warnings, 1 checks, 512 lines checked