[PATCH 1/4] i2c: mv64xxx: devm_pinctrl_get() cannot return NULL

Wolfram Sang wsa at kernel.org
Fri Aug 25 14:11:21 PDT 2023


On Wed, Aug 16, 2023 at 10:04:07PM +0200, Yann Sionneau wrote:
> Remove unnecessary check against NULL for devm_pinctrl_get() return value.
> 
> Signed-off-by: Yann Sionneau <yann at sionneau.net>

As discussed elsewhere, it can be NULL when pinctrl is not selected.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230825/d43504e5/attachment.sig>


More information about the linux-arm-kernel mailing list