1. 28 Oct, 2010 1 commit
    • Jean Delvare's avatar
      Move ams driver to macintosh · bd5f47ec
      Jean Delvare authored
      The ams driver isn't a hardware monitoring driver, so it shouldn't
      live under driver/hwmon. drivers/macintosh seems much more
      appropriate, as the driver is only useful on PowerBooks and iBooks.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Guenter Roeck <guenter.roeck@ericsson.com>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      bd5f47ec
  2. 02 Feb, 2010 1 commit
  3. 17 Oct, 2008 2 commits
    • Dmitry Torokhov's avatar
      hwmon: (ams) Fix locking issues · ee4cd32e
      Dmitry Torokhov authored
      Use a separate mutex to serialize input device creation/removal,
      otheriwse we deadlock if we try to remove input device while it is
      being polled. Also do not take ams_info.lock when it is not needed.
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      ee4cd32e
    • Jean Delvare's avatar
      hwmon: (ams) Convert to a new-style i2c driver · 810ad7b6
      Jean Delvare authored
      The legacy i2c binding model is phasing out, so the ams driver needs
      to be converted to a new-style i2c driver. Here is a naive approach of
      this conversion. Basically it is moving the i2c device creation from
      the ams driver to the i2c-powermac driver. This should work, but I
      suspect we could come up with something cleaner by declaring the i2c
      device as part of the platform setup. This could be done later by
      someone more familiar with openfirmware-based platforms than I am
      myself.
      
      One nice thing brought by this conversion is that the ams driver
      should be loaded automatically on systems where is is needed (at
      least when the I2C interface to the chip is used) providing
      coldplug-aware user-space environment.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      810ad7b6
  4. 08 May, 2007 1 commit
  5. 02 May, 2007 1 commit
  6. 26 Apr, 2007 1 commit
  7. 12 Apr, 2007 2 commits
  8. 12 Dec, 2006 1 commit