Skip to content

Conversation

@pabigot
Copy link
Contributor

@pabigot pabigot commented Jan 22, 2020

Use the new pin and interrupt configuration API.

Signed-off-by: Peter Bigot [email protected]

Use the new pin and interrupt configuration API.

Signed-off-by: Peter Bigot <[email protected]>
@zephyrbot
Copy link

All checks passed.

checkpatch (informational only, not a failure)

-:11: WARNING:LONG_LINE: line over 80 characters
#11: FILE: drivers/sensor/sx9500/sx9500_trigger.c:168:
+			   GPIO_INPUT | DT_INST_0_SEMTECH_SX9500_INT_GPIOS_FLAGS);

-:19: WARNING:LONG_LINE: line over 80 characters
#19: FILE: drivers/sensor/sx9500/sx9500_trigger.c:175:
+	gpio_pin_interrupt_configure(gpio, DT_INST_0_SEMTECH_SX9500_INT_GPIOS_PIN,

- total: 0 errors, 2 warnings, 32 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.

Your patch has style problems, please review.

NOTE: Ignored message types: AVOID_EXTERNS BRACES CONFIG_EXPERIMENTAL CONST_STRUCT DATE_TIME FILE_PATH_CHANGES MINMAX NETWORKING_BLOCK_COMMENT_STYLE PRINTK_WITHOUT_KERN_LEVEL SPLIT_STRING VOLATILE

NOTE: If any of the errors are false positives, please report
      them to the maintainers.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

@pabigot pabigot changed the title drivers: sensor: sx9500: convert to new GPIO API [TOPIC-GPIO] drivers: sensor: sx9500: convert to new GPIO API Jan 23, 2020
@MaureenHelm MaureenHelm requested a review from mnkp January 23, 2020 16:52
@carlescufi carlescufi merged commit 5e256b4 into zephyrproject-rtos:topic-gpio Jan 24, 2020
@pabigot pabigot deleted the gpio/sx9500 branch January 25, 2020 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants