]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/memory/omap-gpmc.c
memory: omap-gpmc: consistently use !res for NULL checks
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 24 Jul 2020 18:23:22 +0000 (20:23 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Aug 2020 18:43:46 +0000 (20:43 +0200)
commitdc1a9283f16a5c5c08a3d3b473e43a826ec3a177
tree36e7f360cefa1a26e3f2403f6d22f96bba44f39a
parent07b6cc4540d3f3f198b62efd73a43806f031b2d6
memory: omap-gpmc: consistently use !res for NULL checks

The driver already uses 'if (!res)' pattern in the probe function so be
consistent.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200724182328.3348-11-krzk@kernel.org
drivers/memory/omap-gpmc.c