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>
Thu, 18 Oct 2012 15:08:47 +0000 (08:08 -0700)
commit0978c9499944d0670338fd048a3bdb1624dc66dc
treea5ca540c1345ab7a7694c82381901d56394ac46e
parentbf90ff5f3b8f67e5b42df4ea4fd543f8010a2676
USB: iuu_phoenix: fix sysfs-attribute creation

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/iuu_phoenix.c