]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf92c5b6e76521717e30a723d2c689bc5dbe02b10
tree4e70f99aa84cdd18f13c673980afebe4a268359e
parentd21b351a44c7ed206cc09579ba29e6933a003236
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