Hi Antonio, On Tue, Nov 03, 2009 at 11:53:17AM +0100, Antonio Ospite wrote: > Abusing subdev drvdata is not needed anymore, as all pcap subdevs are now > retrieving the pcap pointer from their parent device. > > This change removes a leftover coming from early versions of ezx-pcap and its > subdevs drivers. Applied, thanks for the patch.
Cheers, Samuel. > Signed-off-by: Antonio Ospite <osp...@studenti.unina.it> > > --- > Just to recall some history, all pcap subdevs drivers have already been fixed > as in http://patchwork.ozlabs.org/patch/30986/ > > drivers/mfd/ezx-pcap.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c > index 8762889..df405af 100644 > --- a/drivers/mfd/ezx-pcap.c > +++ b/drivers/mfd/ezx-pcap.c > @@ -387,7 +387,6 @@ static int __devinit pcap_add_subdev(struct pcap_chip > *pcap, > pdev = platform_device_alloc(subdev->name, subdev->id); > pdev->dev.parent = &pcap->spi->dev; > pdev->dev.platform_data = subdev->platform_data; > - platform_set_drvdata(pdev, pcap); > > return platform_device_add(pdev); > } > -- > tg: (90aa15f..) ezx/local/pcap (depends on: master) -- Intel Open Source Technology Centre http://oss.intel.com/