Re: [PATCH] staging/comedi: Move comedi_pci_auto_unconfig to drivers.c
From: Peter Huewe
Date: Thu Jan 24 2013 - 16:27:31 EST
Am Donnerstag, 24. Januar 2013, 11:02:35 schrieb Ian Abbott:
> On 2013-01-22 23:03, Peter Huewe wrote:
> > Since comedi_pci_auto_unconfig cannot be inlined anymore after
> >
> > staging/comedi: Use comedi_pci_auto_unconfig directly for
> > pci_driver.remove
> >
> > is applied, it makes sense to move it drivers.c
> >
> > Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>
> > ---
> >
> Embarassingly (for me) I submitted a patch to do the exact opposite
> previously, but I've no problem doing it this way if it saves some code.
Hi Ian,
;)
If you think it's cleaner the way it is currently we can leave it like that.
Especially if you think some driver might actually do something in the remove
function (in the future).
However if we could also find a way to remove all the probe function stuff as
well we should remove it.
Most (comedi pci) drivers simply call comedi_pci_auto_config and not much more
- but I'm currently not sure how to do this ;)
Thanks,
PeterH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/