1. 25 11月, 2011 4 次提交
    • A
      collie_battery: Convert to gpio_request_array() / gpio_free_array() · 389cd203
      Axel Lin 提交于
      As suggested by Igor Grinberg, this change make the implementation looks
      simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      389cd203
    • A
      olpc_battery: Remove unneeded 'olpc_battery_trigger_uevent' · 7ab2f020
      Anton Vorontsov 提交于
      It is no longer used, so we can safely remove it.
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      7ab2f020
    • A
      olpc_battery: Fix section mismatch noise · 5519d00e
      Anton Vorontsov 提交于
      This patch fixes the following noise (by renaming _drv to _driver):
      
      WARNING: drivers/power/olpc_battery.o(.data+0x100): Section mismatch in reference from the variable olpc_battery_drv to the function .devinit.text:olpc_battery_probe()
      The variable olpc_battery_drv references
      the function __devinit olpc_battery_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      WARNING: drivers/power/olpc_battery.o(.data+0x104): Section mismatch in reference from the variable olpc_battery_drv to the function .devexit.text:olpc_battery_remove()
      The variable olpc_battery_drv references
      the function __devexit olpc_battery_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      WARNING: drivers/power/olpc_battery.o(.data+0x128): Section mismatch in reference from the variable olpc_battery_drv to the variable .devinit.rodata:olpc_battery_ids
      The variable olpc_battery_drv references
      the variable __devinitconst olpc_battery_ids
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      5519d00e
    • R
      bq20z75: Devicetree init support · 6c75ea1e
      Rhyland Klein 提交于
      Adding support to generate platform data when kernel is configured
      through device tree.
      
      Also adding the binding for the TI bq20z75 fuel gadge and the
      bq20z75 driver.
      Signed-off-by: NRhyland Klein <rklein@nvidia.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      6c75ea1e
  2. 23 8月, 2011 2 次提交
    • R
      power_supply: Fix sysfs format warning · 85b5fbf7
      Randy Dunlap 提交于
      Fix format warning:
      
      drivers/power/power_supply_sysfs.c:82: warning: format '%d' expects type 'int', but argument 4 has type 'ssize_t'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      85b5fbf7
    • A
      pda_power: Fix build error if !CONFIG_USB_OTG_UTILS · 1c74529d
      Axel Lin 提交于
      commit 9ad63986
      "pda_power: Add support for using otg transceiver events"
      introduces below build error if !CONFIG_USB_OTG_UTILS.
      
        CC      drivers/power/pda_power.o
      drivers/power/pda_power.c: In function 'pda_power_probe':
      drivers/power/pda_power.c:322: error: 'otg_is_usb_online' undeclared (first use in this function)
      drivers/power/pda_power.c:322: error: (Each undeclared identifier is reported only once
      drivers/power/pda_power.c:322: error: for each function it appears in.)
      drivers/power/pda_power.c:325: error: 'otg_is_ac_online' undeclared (first use in this function)
      drivers/power/pda_power.c:371: error: 'otg_handle_notification' undeclared (first use in this function)
      make[2]: *** [drivers/power/pda_power.o] Error 1
      make[1]: *** [drivers/power] Error 2
      make: *** [drivers] Error 2
      
      This patch adds #ifdef CONFIG_USB_OTG_UTILS guards at necessary places to fix
      build errors.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      1c74529d
  3. 20 8月, 2011 14 次提交
  4. 08 7月, 2011 13 次提交
  5. 16 6月, 2011 1 次提交
    • R
      Change Ryan Mallon's email address across the kernel · 1c5454ee
      Ryan Mallon 提交于
      I no longer work at Bluewater Systems. Update my email address accordingly. I
      have deleted my email address from C files rather than change it. This
      was suggested by several people, since the commit from my new email
      address will cause scripts/get_maintainer.pl to function properly. I
      have not added the .mailmap entry as suggested by Joe because I think
      it is no longer necessary if I touch all the files which had my name
      in them.
      Signed-off-by: NRyan Mallon <rmallon@gmail.com>
      Cc: Andre Renaud <andre@bluewatersys.com>
      Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Andrew Victor <avictor.za@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Anton Vorontsov <cbou@mail.ru>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Joe Perches <joe@perches.com>
      Cc: Jesper Juhl <jj@chaosbits.net>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: trivial@kernel.org
      Cc: linux-kernel@vger.kernel.org
      Reviewed-by: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      1c5454ee
  6. 27 5月, 2011 2 次提交
  7. 20 5月, 2011 4 次提交