can: kvaser_pciefd: Change name of return code variable
authorMartin Jocic <martin.jocic@kvaser.com>
Fri, 14 Jun 2024 15:15:24 +0000 (17:15 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Jun 2024 07:45:28 +0000 (09:45 +0200)
commit26a1b0fe3f62ba4a853f9d8ba3aa91f27e13f0ff
treecf97cd585eae323bca10c0bc05f0205d41993a9f
parentcbf88a6ba7bb6ce0d3131b119298f73bd7b18459
can: kvaser_pciefd: Change name of return code variable

Replace the variable name err used for return codes with the more
generic name ret. An upcoming patch series for adding MSI interrupts
will introduce code which also returns values other than return codes.
Renaming the variable to ret enables using it for both purposes.
This is applied to the whole file to make it consistent.

Signed-off-by: Martin Jocic <martin.jocic@kvaser.com>
Link: https://lore.kernel.org/all/20240614151524.2718287-8-martin.jocic@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/kvaser_pciefd.c