linux-stable/drivers/zorro
Uwe Kleine-König 18d214cc1d zorro: Simplify remove callback
The driver core only calls a remove callback when the device was
successfully bound (aka probed) before. So dev->driver is never NULL.

(And even if it was NULL, to_zorro_driver(NULL) isn't ...)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210730191035.1455248-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-05 14:37:04 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
gen-devlist.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
names.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
proc.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
zorro-driver.c zorro: Simplify remove callback 2021-08-05 14:37:04 +02:00
zorro-sysfs.c zorro: stop creating attributes by hand 2017-03-17 15:10:49 +09:00
zorro.c zorro: Fix address space collision message with RAM expansion boards 2020-08-26 13:26:52 +02:00
zorro.h zorro: Move zorro_bus_type to bus-private header file 2020-03-09 11:12:19 +01:00
zorro.ids misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00