CHECK: struct mutex definition without comment #112: FILE: drivers/gpio/gpio-nct6694.c:39: + 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 82 exceeds 80 columns #529: FILE: drivers/gpio/gpio-nct6694.c:456: + ret = devm_request_threaded_irq(dev, data->irq, NULL, nct6694_irq_handler, total: 0 errors, 5 warnings, 1 checks, 511 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 18e3c51d0872 ("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, 511 lines checked