]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[WATCHDOG] hpwdt: Use dmi_walk() instead of own copy
authorRoland Dreier <rdreier@cisco.com>
Thu, 28 Feb 2008 20:34:42 +0000 (12:34 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 6 Mar 2008 11:10:53 +0000 (11:10 +0000)
commit30ec910e02b35e7c3d600af694a5aec4b6690ddc
tree5d482c467bbd615ff3008ecea70322b67e5ee7bc
parentef82710a3f80cd24d459c508f91542ecccb1f340
[WATCHDOG] hpwdt: Use dmi_walk() instead of own copy

We can simplify the code by deleting all of the duplicated DMI table
walking code and using the kernel's existing dmi_walk() interface to
find the DMI entry the driver is looking for.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/hpwdt.c