]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sec: Don't compare against NULL / 0 for errors, use !
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 9 Apr 2025 20:37:40 +0000 (21:37 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:45 +0000 (08:48 +0100)
commit856c6514d5ab491a5ad4be6e797d0d5283ad51aa
treeb9089a073b2e008e22e67ed7eaeaafa94da81e42
parentadf91d9e1983dec3d5fabc273e8ff89918b852c1
mfd: sec: Don't compare against NULL / 0 for errors, use !

Follow general style and use if (!arg) instead of comparing against
NULL.

While at it, drop a useless init in sec-irq.c.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-19-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sec-common.c
drivers/mfd/sec-irq.c