linux/drivers/sh/superhyway
Uwe Kleine-König fe976c4aad sh: superhyway: Simplify check in 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_superhyway_driver(NULL) isn't ...)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210730191035.1455248-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-05 14:37:03 +02:00
..
Makefile
superhyway-sysfs.c
superhyway.c sh: superhyway: Simplify check in remove callback 2021-08-05 14:37:03 +02:00