Staging: w35und: inline hal_set_phy_type() to wb35_hw_init()
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 8 Apr 2009 08:14:03 +0000 (11:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:37 +0000 (11:00 -0700)
commit9ca748ce517a09068a897fddf9672f2a3286573f
treeb0a25f40a8c38a69c09b2b603ee9064a63f6ddce
parentbdbb8839567c38f15bfba95e7df8a73a45f49067
Staging: w35und: inline hal_set_phy_type() to wb35_hw_init()

Impact: cleanup

The hal_set_phy_type() is called in wb35_hw_init() only so inline the
function there. Also remove a redundant assignment of ->phy_type to
RF_WB_242_1.

Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/wbhal.c
drivers/staging/winbond/wbhal_f.h
drivers/staging/winbond/wbusb.c