]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: move the actions of saving the information of the device
authorhayeswang <hayeswang@realtek.com>
Mon, 6 Jan 2014 09:08:42 +0000 (17:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 21:24:09 +0000 (16:24 -0500)
commit529aab98a9dc4d5f53c269e952818c09a7c07e68
treea0b9719e637ee8b3ba69e9de377261a2b70a87b0
parent5e63b4911182debd8ce537971d647f44d1cb3766
r8152: move the actions of saving the information of the device

Some information of the device may be used in other functions. Move
the relative code to make sure it would be initialzed correctly
before using it.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c