author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 2021-07-13 21:35:22 +0200
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-21 11:53:42 +0200
commit: fc7a6209d5710618eb4f72a77cd81b8d694ecf89
parent: 15f83bb0191261adece5a26bfdf93c6eccdbc0bb
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index de0768a49ee8..dfc52f661ad0 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -143,14 +143,13 @@ static int gio_device_probe(struct device *dev)
return error;
}
-static int gio_device_remove(struct device *dev)
+static void gio_device_remove(struct device *dev)
{
struct gio_device *gio_dev = to_gio_device(dev);
struct gio_driver *drv = to_gio_driver(dev->driver);
if (dev->driver && drv->remove)
drv->remove(gio_dev);
- return 0;
}
static void gio_device_shutdown(struct device *dev)