[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170863682972.29147.2545768852887642149.git-patchwork-notify@kernel.org>
Date: Thu, 22 Feb 2024 21:20:29 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: marcel@...tmann.org, luiz.dentz@...il.com, linmq006@...il.com,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
bartosz.golaszewski@...aro.org
Subject: Re: [PATCH] Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with
gpiod_get_optional()
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Thu, 8 Feb 2024 17:40:17 +0100 you wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> The optional variants for the gpiod_get() family of functions return NULL
> if the GPIO in question is not associated with this device. They return
> ERR_PTR() on any other error. NULL descriptors are graciously handled by
> GPIOLIB and can be safely passed to any of the GPIO consumer interfaces
> as they will return 0 and act as if the function succeeded. If one is
> using the optional variant, then there's no point in checking for NULL.
>
> [...]
Here is the summary with links:
- Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional()
https://git.kernel.org/bluetooth/bluetooth-next/c/75518da8cf76
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists