Thread (4 messages) flat view 4 messages, 2 authors, 2021-06-22

Re: [PATCH 1/2] pwm: vt8500: Drop if with an always false condition

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-06-22 07:45:38
Also in: linux-pwm

On Mon, Jun 21, 2021 at 3:04 PM Uwe Kleine-König
[off-list ref] wrote:
vt8500_pwm_remove() is only called after vt8500_pwm_probe() returned
successfully. In this case driver data was set to a non-NULL value
and so chip can never be NULL.

While touching this code also put declaration and assignment in a single
line.

Signed-off-by: Uwe Kleine-König <redacted>
---
Both patches

Acked-by: Arnd Bergmann <arnd@arndb.de>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help