]> git.baikalelectronics.ru Git - kernel.git/commit
net: dm9051: Make remove() callback a void function
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 17:39:57 +0000 (17:39 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Feb 2022 18:45:02 +0000 (10:45 -0800)
commitc0dcaffdc5c97a652fd8174cd3864b496df7c5bf
tree8f472add071863e870627b71413f70e0ae62981c
parent2fd478d10e45917aeb2244c77ac3b6c117a662bb
net: dm9051: Make remove() callback a void function

Changes introduced since the merge window in the spi subsystem and
available at:

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-remove-void

make the remove() callback for spi return void rather than int, breaking
the newly added dm9051 driver fail to build.  This patch fixes this
issue, converting the remove() function provided by the driver to return
void.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
[Rewrote commit message -- broonie]
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220228173957.1262628-2-broonie@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/davicom/dm9051.c