aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-04-06 10:23:54 +0200
committerWolfram Sang <[email protected]>2023-04-13 18:47:13 +0200
commit9496fffcb28f39e0352779a0199b6e61861c9221 (patch)
tree8a1fd5dd5d7a8f1c3cc46991fd15534da42195b9 /drivers/fpga/zynqmp-fpga.c
parent0cbc9a2c62d2674b078d84e8f40445d755b94c30 (diff)
i2c: omap: Improve error reporting for problems during .remove()
If pm_runtime_get() fails in .remove() the driver used to return the error to the driver core. The only effect of this (compared to returning zero) is a generic warning that the error value is ignored. So emit a better warning and return zero to suppress the generic (and little helpful) message. Also disable runtime PM in the error case. This prepares changing platform device remove callbacks to return void. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions