pxa_camera: remove init() callback
[deliverable/linux.git] / drivers / media / video / pxa_camera.c
index 294f860ce2b068f13ba502fc17c1b6b05b9b6dfc..322ac4eecf0ae0cf39b82e33baaa2ef5294a6fe4 100644 (file)
@@ -898,18 +898,8 @@ static void recalculate_fifo_timeout(struct pxa_camera_dev *pcdev,
 
 static void pxa_camera_activate(struct pxa_camera_dev *pcdev)
 {
-       struct pxacamera_platform_data *pdata = pcdev->pdata;
-       struct device *dev = pcdev->soc_host.v4l2_dev.dev;
        u32 cicr4 = 0;
 
-       dev_dbg(dev, "Registered platform device at %p data %p\n",
-               pcdev, pdata);
-
-       if (pdata && pdata->init) {
-               dev_dbg(dev, "%s: Init gpios\n", __func__);
-               pdata->init(dev);
-       }
-
        /* disable all interrupts */
        __raw_writel(0x3ff, pcdev->base + CICR0);
 
This page took 0.025713 seconds and 5 git commands to generate.