Classify regulator devices

pull/16/head
Timothy Pearson 10 years ago
parent d2be9f66f9
commit 8c0d2c2919

@ -1977,6 +1977,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
else if (devicesubsystem == "node") { else if (devicesubsystem == "node") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
} }
else if (devicesubsystem == "regulator") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
}
else if (devicesubsystem == "memory") { else if (devicesubsystem == "memory") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
} }

Loading…
Cancel
Save