At Sun, 15 Feb 2015 14:25:05 +0700,
Johan Hovold wrote:
>
> On Thu, Feb 05, 2015 at 02:36:23PM +0100, Takashi Iwai wrote:
>
> > static int usb_serial_device_probe(struct device *dev)
> > {
> > struct usb_serial_driver *driver;
> > @@ -72,15 +79,9 @@ static int usb_serial_device_probe(struct
On Thu, Feb 05, 2015 at 02:36:23PM +0100, Takashi Iwai wrote:
> static int usb_serial_device_probe(struct device *dev)
> {
> struct usb_serial_driver *driver;
> @@ -72,15 +79,9 @@ static int usb_serial_device_probe(struct device *dev)
> goto exit_with_autopm;
>
Instead of manual device_create_file() and device_remove_file() calls,
pass the static attribute groups to tty_register_device_attr().
Signed-off-by: Takashi Iwai
---
drivers/usb/serial/bus.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/ser