Commit 01aa9a1d authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

samples: power: use string for driver name



Change-Id: I2a5d02cf13ce4ed304c0ebb3d81310aec9325add
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent f4feacf8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -220,9 +220,9 @@ static void create_device_list(void)
	device_list_get(&device_list, &count);

	for (i = 0; (i < count) && (device_count < DEVICE_POLICY_MAX); i++) {
		if (!strcmp(device_list[i].config->name, CONFIG_GPIO_DW_0_NAME) ||
		if (!strcmp(device_list[i].config->name, "GPIO_0") ||
				!strcmp(device_list[i].config->name,
					CONFIG_GPIO_DW_1_NAME)) {
					"GPIO_1")) {
			device_policy_list[device_count++] = i;
		}
	}