[COMPBATT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 23 Oct 2014 18:33:21 +0000 (18:33 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 23 Oct 2014 18:33:21 +0000 (18:33 +0000)
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

svn path=/trunk/; revision=64933

reactos/drivers/bus/acpi/compbatt/comppnp.c

index 5966cda..9b430b8 100644 (file)
@@ -69,7 +69,7 @@ RemoveBatteryFromList(IN PCUNICODE_STRING BatteryName,
     /* Done */
     ExReleaseFastMutex(&DeviceExtension->Lock);
     if (CompBattDebug & 1) DbgPrint("CompBatt: EXITING RemoveBatteryFromList\n");
-    return STATUS_SUCCESS;
+    return NULL;
 }
 
 BOOLEAN