Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 097c27fc authored by Joe Perches's avatar Joe Perches Committed by Darren Hart
Browse files

wmi: Use bool function return values of true/false not 1/0



Use the normal return values for bool functions

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 5d3fc1d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -239,10 +239,10 @@ static bool find_guid(const char *guid_string, struct wmi_block **out)
		if (memcmp(block->guid, guid_input, 16) == 0) {
			if (out)
				*out = wblock;
			return 1;
			return true;
		}
	}
	return 0;
	return false;
}

static acpi_status wmi_method_enable(struct wmi_block *wblock, int enable)