dmi: Let dmi_walk() users pass private data
authorJean Delvare <khali@linux-fr.org>
Mon, 30 Mar 2009 19:46:44 +0000 (21:46 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 30 Mar 2009 19:46:44 +0000 (21:46 +0200)
commite7a19c5624c66afa8118b10cd59f87ee407646bc
tree4e70f99aa84cdd18f13c673980afebe4a268359e
parentec19920944246b4686c7772a58507a20c361dc9d
dmi: Let dmi_walk() users pass private data

At the moment, dmi_walk() lacks flexibility, users can't pass data to
the callback function. Add a pointer for private data to make this
function more flexible.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Roland Dreier <rolandd@cisco.com>
drivers/firmware/dmi_scan.c
drivers/hwmon/fschmd.c
drivers/platform/x86/dell-laptop.c
drivers/watchdog/hpwdt.c
include/linux/dmi.h