[PATCH 0/2] dmi-id: export oem strings to sysfs

From: Allen Hung
Date: Fri Jul 15 2016 - 05:52:29 EST

The oem strings in DMI BIOS have been parsed and stored as dmi devices
in dmi_scan.c but they are not exported to userspace via sysfs.

The series of patches 1/2) fix the error exit code which may cause kernel
panic if error happened during adding the oem strings to sysfs, and (2/2)
export oem strings to a new group "oem" under sysfs device

Alle Hung (2):
dmi-id: don't free dev structure after calling device_register
dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

drivers/firmware/dmi-id.c | 116 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 112 insertions(+), 4 deletions(-)