We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638cfed commit 364c555Copy full SHA for 364c555
drivers/counter/rtc_mcp7940n.c
@@ -712,7 +712,7 @@ static int mcp7940n_init(const struct device *dev)
712
gpio_init_callback(&data->int_callback, mcp7940n_init_cb,
713
BIT(cfg->int_gpios.pin));
714
715
- gpio_add_callback(cfg->int_gpios.port, &data->int_callback);
+ (void)gpio_add_callback(cfg->int_gpios.port, &data->int_callback);
716
717
/* Configure interrupt polarity */
718
if ((cfg->int_gpios.dt_flags & GPIO_ACTIVE_LOW) == GPIO_ACTIVE_LOW) {
0 commit comments