aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-06-21 13:04:57 +0000
committerThierry Reding <[email protected]>2021-06-30 17:12:20 +0000
commitfb2cb3bff9e0ede1709620809374dd14c07b1e16 (patch)
treeb869ea14f71146ff847b53ba89e1a31e05fdeca0 /drivers/fpga/fpga-bridge.c
parentpwm: tegra: Assert reset only after the PWM was unregistered (diff)
downloadkernel-fb2cb3bff9e0ede1709620809374dd14c07b1e16.tar.gz
kernel-fb2cb3bff9e0ede1709620809374dd14c07b1e16.zip
pwm: vt8500: Drop if with an always false condition
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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions