Re: [linux-usb-devel] usbmon: Add class for the binary API [third try]

2007-02-28 Thread Pete Zaitcev
On Wed, 28 Feb 2007 09:13:27 +0100, Paolo Abeni <[EMAIL PROTECTED]> wrote: > This patch adds a class which allows for an easier integration with > udev. You're really aggressive with wrapping, aren't you :) > Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> > Signed-off-by: Pete Zaitcev <[EMAIL PR

[linux-usb-devel] usbmon: Add class for the binary API [third try]

2007-02-28 Thread Paolo Abeni
This patch adds a class which allows for an easier integration with udev. Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- The patch is against linux 2.6.21-rc1. I just changed the struct device creation, using the ubus->controller as the paren

Re: [linux-usb-devel] usbmon: Add class for the binary API [second try]

2007-02-27 Thread Greg KH
On Tue, Feb 27, 2007 at 01:44:42PM +0100, Paolo Abeni wrote: > This patch adds a class which allows for an easier integration with > udev. > > Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> > Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> > > --- > > I just changed the struct device creation,

Re: [linux-usb-devel] usbmon: Add class for the binary API [second try]

2007-02-27 Thread Pete Zaitcev
On Tue, 27 Feb 2007 13:44:42 +0100, Paolo Abeni <[EMAIL PROTECTED]> wrote: > This patch adds a class which allows for an easier integration with > udev. > > Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> > Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> No, please hold it. You have two patches s

[linux-usb-devel] usbmon: Add class for the binary API [second try]

2007-02-27 Thread Paolo Abeni
This patch adds a class which allows for an easier integration with udev. Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- I just changed the struct device creation, using the ubus->controller for the parent device, as suggested by Greg. Otherwi

Re: [linux-usb-devel] usbmon: Add class for the binary API

2007-02-26 Thread Greg KH
On Sat, Feb 24, 2007 at 07:06:43PM -0800, Pete Zaitcev wrote: > This patch adds a class which allows for an easier integration with udev. > > Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> > Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> > > --- > > Paolo, I touched up two places: > - class_cr

[linux-usb-devel] usbmon: Add class for the binary API

2007-02-24 Thread Pete Zaitcev
This patch adds a class which allows for an easier integration with udev. Signed-off-by: Paolo Abeni <[EMAIL PROTECTED]> Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- Paolo, I touched up two places: - class_create returns ERR_PTR on error, not NULL - I prefer a LIFO order of construction