]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: w35und: simplify hal_init_hardware() and hal_halt()
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 8 Apr 2009 08:14:01 +0000 (11:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:37 +0000 (11:00 -0700)
commitf592a859b2e9d17182bbef71c79851505e3592b8
tree6695ab3be9d824fcbc98a777d4c20bfa1edd73a9
parenta39ee671746b6483c6a259fef755a4a3e475e3e4
Staging: w35und: simplify hal_init_hardware() and hal_halt()

Impact: cleanup

Now that hal_halt() is called from wb35_hw_halt() only where
->InitialResource is always set to 4, we can simplify
hal_init_hardware() and hal_halt().

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_s.h
drivers/staging/winbond/wbusb.c