[media] v4l: atmel-isi: Remove unused platform data fields
The emb_crc_sync, mck_hz, asd and asd_sizes platform data fields are unused, remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
40a78f36fc
commit
d32dd315ff
|
@ -1007,11 +1007,6 @@ static int atmel_isi_probe(struct platform_device *pdev)
|
|||
pm_suspend_ignore_children(&pdev->dev, true);
|
||||
pm_runtime_enable(&pdev->dev);
|
||||
|
||||
if (isi->pdata.asd_sizes) {
|
||||
soc_host->asd = isi->pdata.asd;
|
||||
soc_host->asd_sizes = isi->pdata.asd_sizes;
|
||||
}
|
||||
|
||||
ret = soc_camera_host_register(soc_host);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "Unable to register soc camera host\n");
|
||||
|
|
|
@ -116,7 +116,6 @@ struct v4l2_async_subdev;
|
|||
|
||||
struct isi_platform_data {
|
||||
u8 has_emb_sync;
|
||||
u8 emb_crc_sync;
|
||||
u8 hsync_act_low;
|
||||
u8 vsync_act_low;
|
||||
u8 pclk_act_falling;
|
||||
|
@ -124,10 +123,6 @@ struct isi_platform_data {
|
|||
u32 data_width_flags;
|
||||
/* Using for ISI_CFG1 */
|
||||
u32 frate;
|
||||
/* Using for ISI_MCK */
|
||||
u32 mck_hz;
|
||||
struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
|
||||
int *asd_sizes; /* 0-terminated array of asd group sizes */
|
||||
};
|
||||
|
||||
#endif /* __ATMEL_ISI_H__ */
|
||||
|
|
Loading…
Reference in New Issue