[media] v4l2: add const to argument of write-only s_register ioctl
[deliverable/linux.git] / drivers / media / i2c / s5c73m3 / s5c73m3-spi.c
index 889139c2ac5eadb9e00ae09d7e67940fa3a149cd..6f3a9c00fe6512092c0a4789671cc08144a54277 100644 (file)
@@ -111,7 +111,7 @@ int s5c73m3_spi_read(struct s5c73m3 *state, void *addr,
        return 0;
 }
 
-static int __devinit s5c73m3_spi_probe(struct spi_device *spi)
+static int s5c73m3_spi_probe(struct spi_device *spi)
 {
        int r;
        struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3,
@@ -132,7 +132,7 @@ static int __devinit s5c73m3_spi_probe(struct spi_device *spi)
        return 0;
 }
 
-static int __devexit s5c73m3_spi_remove(struct spi_device *spi)
+static int s5c73m3_spi_remove(struct spi_device *spi)
 {
        return 0;
 }
@@ -141,7 +141,7 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state)
 {
        struct spi_driver *spidrv = &state->spidrv;
 
-       spidrv->remove = __devexit_p(s5c73m3_spi_remove);
+       spidrv->remove = s5c73m3_spi_remove;
        spidrv->probe = s5c73m3_spi_probe;
        spidrv->driver.name = S5C73M3_SPI_DRV_NAME;
        spidrv->driver.bus = &spi_bus_type;
This page took 0.044326 seconds and 5 git commands to generate.