BugLink: https://bugs.launchpad.net/bugs/1955383
Signed-off-by: Ignacio Hernandez <ignacio.hernandez@gmail.com>
(cherry picked from commit
8659a022b39a23409c18341c3877689c0ce2ecb3 github.com/intel/ipu6-drivers)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
return rval;
}
-static int ipu_bus_remove(struct device *dev)
+static void ipu_bus_remove(struct device *dev)
{
struct ipu_bus_device *adev = to_ipu_bus_device(dev);
struct ipu_bus_driver *adrv = to_ipu_bus_driver(dev->driver);
if (adrv->remove)
adrv->remove(adev);
-
- return 0;
}
static struct bus_type ipu_bus = {