Skip to content

Commit

Permalink
Merge pull request #160 from openwrt/main
Browse files Browse the repository at this point in the history
sync 23/09
  • Loading branch information
rmandrad authored Sep 23, 2024
2 parents 8f9189b + 7c9998f commit 67c40cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package/kernel/gpio-button-hotplug/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=gpio-button-hotplug
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_LICENSE:=GPL-2.0

include $(INCLUDE_DIR)/package.mk
Expand Down
7 changes: 3 additions & 4 deletions package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,9 @@ static int gpio_keys_button_probe(struct platform_device *pdev,
button->active_low ? GPIOF_ACTIVE_LOW :
0), desc);
if (error) {
if (error != -EPROBE_DEFER) {
dev_err(dev, "unable to claim gpio %d, err=%d\n",
button->gpio, error);
}
dev_err_probe(dev, error,
"unable to claim gpio %d",
button->gpio);
goto out;
}

Expand Down

0 comments on commit 67c40cc

Please sign in to comment.