eeepc-laptop.c (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) eeepc-laptop.c (5d7cf67f72ae34d38e090bdfa673da4aefe4048e)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * eeepc-laptop.c - Asus Eee PC extras
4 *
5 * Based on asus_acpi.c as patched for the Eee PC by Asus:
6 * ftp://ftp.asus.com/pub/ASUS/EeePC/701/ASUS_ACPI_071126.rar
7 * Based on eee.c from eeepc-linux
8 */

--- 1380 unchanged lines hidden (view full) ---

1389 * sub-devices below.
1390 *
1391 * Note that if there are multiple instances of this ACPI device it
1392 * will bail out, because the platform device is registered with a
1393 * fixed name. Of course it doesn't make sense to have more than one,
1394 * and machine-specific scripts find the fixed name convenient. But
1395 * It's also good for us to exclude multiple instances because both
1396 * our hwmon and our wlan rfkill subdevice use global ACPI objects
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * eeepc-laptop.c - Asus Eee PC extras
4 *
5 * Based on asus_acpi.c as patched for the Eee PC by Asus:
6 * ftp://ftp.asus.com/pub/ASUS/EeePC/701/ASUS_ACPI_071126.rar
7 * Based on eee.c from eeepc-linux
8 */

--- 1380 unchanged lines hidden (view full) ---

1389 * sub-devices below.
1390 *
1391 * Note that if there are multiple instances of this ACPI device it
1392 * will bail out, because the platform device is registered with a
1393 * fixed name. Of course it doesn't make sense to have more than one,
1394 * and machine-specific scripts find the fixed name convenient. But
1395 * It's also good for us to exclude multiple instances because both
1396 * our hwmon and our wlan rfkill subdevice use global ACPI objects
1397 * (the EC and the wlan PCI slot respectively).
1397 * (the EC and the PCI wlan slot respectively).
1398 */
1399 result = eeepc_platform_init(eeepc);
1400 if (result)
1401 goto fail_platform;
1402
1403 if (acpi_video_get_backlight_type() == acpi_backlight_vendor) {
1404 result = eeepc_backlight_init(eeepc);
1405 if (result)

--- 105 unchanged lines hidden ---
1398 */
1399 result = eeepc_platform_init(eeepc);
1400 if (result)
1401 goto fail_platform;
1402
1403 if (acpi_video_get_backlight_type() == acpi_backlight_vendor) {
1404 result = eeepc_backlight_init(eeepc);
1405 if (result)

--- 105 unchanged lines hidden ---