1. 13 6月, 2012 1 次提交
  2. 25 2月, 2012 3 次提交
  3. 16 2月, 2012 1 次提交
    • N
      w1: Fix w1_bq27000 · 9f3519d2
      NeilBrown 提交于
      w1_bq27000 adds a bq27000-battery platform device but does not provide
      platform data for it. This causes the bq27x00 driver to dereference a NULL
      pointer.
      So provide the appropriate platform data.  This requires modifying
      w1_bq27000_read so that it find the w1 device as the parent of the bq device.
      
      Also there is no point exporting w1_bq27000_read as nothing else uses it
      or could use it.  So make it static.
      
      Finally, as there is no way to track how many batteries have been found, and
      we will probably only find one, use an id number of '-1' to assert that this
      is a unique instance.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Tested-by: NThomas Weber <weber@corscience.de>
      Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9f3519d2
  4. 13 11月, 2008 1 次提交