Merge tag 'acpi-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux-2.6-microblaze.git] / drivers / iio / light / acpi-als.c
index 30393f0..0a6ab57 100644 (file)
@@ -29,8 +29,6 @@
 #define ACPI_ALS_DEVICE_NAME           "acpi-als"
 #define ACPI_ALS_NOTIFY_ILLUMINANCE    0x80
 
-ACPI_MODULE_NAME("acpi-als");
-
 /*
  * So far, there's only one channel in here, but the specification for
  * ACPI0008 says there can be more to what the block can report. Like
@@ -93,7 +91,7 @@ static int acpi_als_read_value(struct acpi_als *als, char *prop, s32 *val)
                                       &temp_val);
 
        if (ACPI_FAILURE(status)) {
-               ACPI_EXCEPTION((AE_INFO, status, "Error reading ALS %s", prop));
+               acpi_evaluation_failure_warn(als->device->handle, prop, status);
                return -EIO;
        }