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

Commit 601a1b92 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Richard Purdie
Browse files

leds/acpi: Fix merge fallout from acpi_driver_data change

parent fbf0baee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
	adev.device = device;
	adev.device = device;
	strcpy(acpi_device_name(device), DRIVER_NAME);
	strcpy(acpi_device_name(device), DRIVER_NAME);
	strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
	strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
	acpi_driver_data(device) = &adev;
	device->driver_data = &adev;


	ret = led_classdev_register(NULL, &hpled_led);
	ret = led_classdev_register(NULL, &hpled_led);
	return ret;
	return ret;