04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Joey Lee
    Cc: Matthew Garrett
    Cc: Peter Feuerer
    Cc: Corentin Chary
    Cc: Cezary Jackiewicz
    Cc: Robert Gerlach
    Cc: Ike Panhc
    Cc: Henrique de Moraes Holschuh
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

21 Mar, 2012

1 commit


13 Jan, 2012

1 commit


07 Jul, 2011

1 commit


30 May, 2011

1 commit

  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86: (43 commits)
    acer-wmi: support integer return type from WMI methods
    msi-laptop: fix section mismatch in reference from the function load_scm_model_init
    acer-wmi: support to set communication device state by new wmid method
    acer-wmi: allow 64-bits return buffer from WMI methods
    acer-wmi: check the existence of internal 3G device when set capability
    platform/x86:delete two unused variables
    support wlan hotkey on Acer Travelmate 5735Z
    platform-x86: intel_mid_thermal: Fix memory leak
    platform/x86: Fix Makefile for intel_mid_powerbtn
    platform/x86: Simplify intel_mid_powerbtn
    acer-wmi: Delete out-of-date documentation
    acerhdf: Clean up includes
    acerhdf: Drop pointless dependency on THERMAL_HWMON
    acer-wmi: Update MAINTAINERS
    wmi: Orphan ACPI-WMI driver
    tc1100-wmi: Orphan driver
    acer-wmi: does not allow negative number set to initial device state
    platform/oaktrail: ACPI EC Extra driver for Oaktrail
    thinkpad_acpi: Convert printks to pr_
    thinkpad_acpi: Correct !CONFIG_THINKPAD_ACPI_VIDEO warning
    ...

    Linus Torvalds
     

29 May, 2011

1 commit


28 May, 2011

1 commit


01 Apr, 2011

1 commit

  • static void acpi_ec_gpe_query(void *ec_cxt);
    -> The function is right above this declaration -> not needed.

    poll_force is also not used, cleaned up in ec.c and its users:
    compal-laptop and msi-laptop.

    Signed-off-by: Thomas Renninger
    Signed-off-by: Len Brown

    Thomas Renninger
     

28 Mar, 2011

2 commits


23 Mar, 2011

1 commit

  • There may be multiple ways of controlling the backlight on a given
    machine. Allow drivers to expose the type of interface they are
    providing, making it possible for userspace to make appropriate policy
    decisions.

    Signed-off-by: Matthew Garrett
    Cc: Richard Purdie
    Cc: Chris Wilson
    Cc: David Airlie
    Cc: Alex Deucher
    Cc: Ben Skeggs
    Cc: Zhang Rui
    Cc: Len Brown
    Cc: Jesse Barnes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     

08 Jan, 2011

1 commit


16 Aug, 2010

1 commit


03 Aug, 2010

2 commits

  • dmi_check_system() walks the table running matching functions until
    someone returns non zero or we hit the end.

    This patch makes dmi_check_cb to return 1 so dmi_check_system() return
    immediately when a match is found.

    Signed-off-by: Axel Lin
    Acked-by: Jonathan Woithe
    Cc: Matthew Garrett a
    Signed-off-by: Andrew Morton
    Signed-off-by: Matthew Garrett

    Axel Lin
     
  • The driver now supports the Compal JHL90 (which I use) and it has some
    added features. The biggest novelties are a battery interface
    (power_supply) and a temperature and fan control interface (hmwon). It
    also adds a power-off feature to the backlight subsystem and it exports a
    few files that can enable/disable wake_on_XXX events.

    Much of the original code of the old features is still there, but I've
    changed some names to keep the naming more coherent with the added
    functionalities. (Sorry for the huge patch)

    Some technical stuff about the new driver:

    First of all, I'm not sure if the extra features also work on the other
    Compal boards. Currently they only get enabled if the DMI data indicates
    you are on a JHL90 board.

    Secondly, I've noticed a quirk in my fan controller. I have to re-send
    the wanted pwm-level to the controller every so often. If I don't do
    this, the fanspeed will slowly rise until after a couple of minutes it's
    at full speed. (Note that every normal userland application will probably
    update the pwm-level every so often anyway, based on temperature readings,
    so this might not be an issue in practice) If this turns out to be a
    problem with all the controllers, maybe we should implement a kernel timer
    and have the driver re-send the pwm level every XX seconds to make this
    transparent to userspace? (However, I couldn't immediately find a way to
    do this cleanly.)

    Additional information can be found in the source comments.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: add missing semicolon]
    Signed-off-by: Roald Frederickx
    Cc: Matthew Garrett
    Signed-off-by: Andrew Morton
    Signed-off-by: Matthew Garrett

    Roald Frederickx
     

17 Mar, 2010

1 commit


26 Feb, 2010

2 commits

  • This drops the support for manually groking the files in sysfs
    to turn on and off the WLAN and BT for Compal laptops in favor
    of platform rfkill support.

    It has been combined into a single patch to not introduce regressions
    in the process of simply adding rfkill support

    Signed-off-by: Mario Limonciello
    Signed-off-by: Tim Gardner
    Signed-off-by: Matthew Garrett
    Cc: Cezary Jackiewicz

    Mario Limonciello
     
  • The following Dell laptops are known to have been manufacturer by Compal
    and are supported by the compal-laptop platform driver
    - Mini 9
    - Mini 10
    - Mini 12
    - Mini 10v
    - Inspiron 11z

    Signed-off-by: Mario Limonciello
    Signed-off-by: Tim Gardner
    Signed-off-by: Matthew Garrett
    Cc: Cezary Jackiewicz

    Mario Limonciello
     

12 Dec, 2009

1 commit


19 Dec, 2008

1 commit

  • Move x86 platform specific drivers from drivers/misc/
    to a new home under drivers/platform/x86/.

    The community has been maintaining x86 vendor-specific
    platform specific drivers under /drivers/misc/ for a few years.
    The oldest ones started life under drivers/acpi.
    They moved out of drivers/acpi/ because they don't actually
    implement the ACPI specification, but either simply
    use ACPI, or implement vendor-specific ACPI extensions.

    In the future we anticipate...
    drivers/misc/ will go away.
    other architectures will create drivers/platform/

    Signed-off-by: Len Brown

    Len Brown