1. 05 4月, 2013 35 次提交
  2. 16 3月, 2013 1 次提交
  3. 15 3月, 2013 4 次提交
    • A
      mfd: twl4030-madc: Remove __exit_p annotation · 03715410
      Arnd Bergmann 提交于
      4740f73f "mfd: remove use of __devexit" removed the __devexit annotation
      on the twl4030_madc_remove function, but left an __exit_p() present on the
      pointer to this function. Using __exit_p was as wrong with the devexit in
      place as it is now, but now we get a gcc warning about an unused function.
      
      In order for the twl4030_madc_remove to work correctly in built-in code, we
      have to remove the __exit_p.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      03715410
    • A
      input/joystick: use get_cycles on ARM · 6fdd496e
      Arnd Bergmann 提交于
      ARM normally has an accurate clock source, so
      we can theoretically use analog joysticks more
      accurately and at the same time avoid the
      build warning
      
       #warning Precise timer not defined for this architecture.
      
      from the joystick driver.
      
      Now, why anybody would use that driver no ARM I have no
      idea, but Ben Dooks enabled it in the s3c2410_defconfig
      along with a bunch of other drivers, even though that
      platform has neither ISA nor PCI support. It still
      seems to be the right thing to fix this quirk.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Vojtech Pavlik <vojtech@suse.cz>
      Cc: Ben Dooks <ben-linux@fluff.org>
      6fdd496e
    • A
      clk: vt8500: Fix "fix device clock divisor calculations" · d6d1053a
      Arnd Bergmann 提交于
      Patch 72480014 "Fix device clock divisor calculations" was apparently
      rebased incorrectly before it got upstream, causing a build error.
      
      Replacing the "prate" pointer with the local parent_rate is most
      likely the correct solution.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Tony Prisk <linux@prisktech.co.nz>
      Cc: Mike Turquette <mturquette@linaro.org>
      d6d1053a
    • G
      hwmon: (pmbus/ltc2978) Fix temperature reporting · 8c958c70
      Guenter Roeck 提交于
      On LTC2978, only READ_TEMPERATURE is supported. It reports
      the internal junction temperature. This register is unpaged.
      
      On LTC3880, READ_TEMPERATURE and READ_TEMPERATURE2 are supported.
      READ_TEMPERATURE is paged and reports external temperatures.
      READ_TEMPERATURE2 is unpaged and reports the internal junction
      temperature.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Cc: stable@vger.kernel.org # 3.2+
      Acked-by: NJean Delvare <khali@linux-fr.org>
      8c958c70