USB: iuu_phoenix: fix sysfs-attribute creation
authorJohan Hovold <jhovold@gmail.com>
Thu, 18 Oct 2012 08:52:17 +0000 (10:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Oct 2012 17:56:12 +0000 (10:56 -0700)
commite1d21d7119c98059424137340f8c3a405ee5ef3d
tree607ee262afb2ae27f912693301c6f867cdbde237
parent8b399c3d6ae4591e28cc1bdab911ce7ccc7c2d5d
USB: iuu_phoenix: fix sysfs-attribute creation

commit 0978c9499944d0670338fd048a3bdb1624dc66dc upstream.

Make sure sysfs attributes are created at port probe.

A recent patch ("USB: iuu_phoenix: fix port-data memory leak") removed
the sysfs-attribute creation by mistake.

Reported-by: Yuanhan Liu <yuanhan.liu@intel.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/iuu_phoenix.c