linux-stable/drivers/nubus
Uwe Kleine-König 7f400a1dc2 nubus: Drop noop match function
nubus_bus_match() returned 1 unconditionally. This is equivalent to
no match function at all. (See driver_match_device() which does:

	return drv->bus->match ? drv->bus->match(dev, drv) : 1;

.)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230313180848.2770504-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2023-03-20 15:39:14 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bus.c nubus: Drop noop match function 2023-03-20 15:39:14 +01:00
nubus.c nubus: Remove cast to void pointer 2019-10-21 09:08:15 +02:00
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00