Re: [PATCH 04/11] remove usb_interface pointer
From: Stefani Seibold
Date: Wed Jun 06 2012 - 16:03:46 EST
Am Mittwoch, den 06.06.2012, 20:59 +0200 schrieb Oliver Neukum:
> Am Mittwoch, 6. Juni 2012, 18:27:05 schrieb stefani@xxxxxxxxxxx:
> >
> > From: Stefani Seibold <stefani@xxxxxxxxxxx>
> >
> > this saves a litte bit of memory space in the driver devices structure
> >
>
> This really is the wrong way round.
>
This was what Grek asked for. And interface is the whole driver only in
the open and close path needed.
In the open path the interface is already determinate by
usb_find_interface() so it was reasonable to do this also in the close
path.
--
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/