1. 04 6月, 2012 1 次提交
  2. 16 5月, 2012 1 次提交
  3. 12 5月, 2012 2 次提交
    • S
      gpio/exynos: Fix compiler warnings when non-exynos machines are selected · 2760f7ad
      Sachin Kamat 提交于
      Fixes the following compiler warnings:
      
      drivers/gpio/gpio-samsung.c: In function ‘samsung_gpiolib_init’:
      drivers/gpio/gpio-samsung.c:2980:1: warning: label ‘err_ioremap1’ defined but not used [-Wunused-label]
      drivers/gpio/gpio-samsung.c:2978:1: warning: label ‘err_ioremap2’ defined but not used [-Wunused-label]
      drivers/gpio/gpio-samsung.c:2976:1: warning: label ‘err_ioremap3’ defined but not used [-Wunused-label]
      drivers/gpio/gpio-samsung.c:2974:1: warning: label ‘err_ioremap4’ defined but not used [-Wunused-label]
      drivers/gpio/gpio-samsung.c:2722:55: warning: unused variable ‘gpio_base4’ [-Wunused-variable]
      
      drivers/gpio/gpio-samsung.c:455:32: warning: ‘exynos_gpio_cfg’ defined but not used [-Wunused-variable]
      drivers/gpio/gpio-samsung.c:2126:33: warning: ‘exynos4_gpios_1’ defined but not used [-Wunused-variable]
      drivers/gpio/gpio-samsung.c:2228:33: warning: ‘exynos4_gpios_2’ defined but not used [-Wunused-variable]
      drivers/gpio/gpio-samsung.c:2373:33: warning: ‘exynos4_gpios_3’ defined but not used [-Wunused-variable]
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      2760f7ad
    • O
      gpio: samsung: refactor gpiolib init for exynos4/5 · fd454997
      Olof Johansson 提交于
      Only code move, no functional change.
      
      Main reason to do this was to get rid of the warnings:
      
      drivers/gpio/gpio-samsung.c: In function 'samsung_gpiolib_init':
      drivers/gpio/gpio-samsung.c:2974:1: warning: label 'err_ioremap4' defined but not used [-Wunused-label]
      drivers/gpio/gpio-samsung.c:2722:47: warning: unused variable 'gpio_base4' [-Wunused-variable]
      
      without adding more ifdef mess.
      
      I think this whole file would do well being coverted over to a platform
      driver and moving most of the tables out to SoC code and/or device trees,
      but since that changes init ordering it needs to be done with some care,
      i.e. not at this time.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      fd454997
  4. 11 4月, 2012 1 次提交
  5. 14 3月, 2012 2 次提交
  6. 02 2月, 2012 1 次提交
  7. 02 1月, 2012 2 次提交
  8. 23 12月, 2011 1 次提交
  9. 22 12月, 2011 1 次提交
    • K
      driver-core: remove sysdev.h usage. · edbaa603
      Kay Sievers 提交于
      The sysdev.h file should not be needed by any in-kernel code, so remove
      the .h file from these random files that seem to still want to include
      it.
      
      The sysdev code will be going away soon, so this include needs to be
      removed no matter what.
      
      Cc: Jiandong Zheng <jdzheng@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: "Venkatesh Pallipadi
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      edbaa603
  10. 18 10月, 2011 1 次提交
  11. 12 10月, 2011 3 次提交
  12. 04 10月, 2011 3 次提交
  13. 21 9月, 2011 1 次提交
    • K
      gpio/samsung: gpio-samsung.c to support Samsung GPIOs · 1b39d5f2
      Kukjin Kim 提交于
      This patch adds support for Samsung GPIOs with one gpio driver
      and removes old GPIO drivers which are drivers/gpio-s3c24xx.c,
      gpio-s3c64xx.c, gpio-s5p64x0.c, gpio-s5pc100.c, gpio-s5pv210.c,
      gpio-exynos4.c, gpio-plat-samsung.c, plat-samsung/gpio-config.c
      and gpio.c to support each Samsung SoCs before. Because the
      gpio-samsung.c can replace old Samsung GPIO drivers.
      Basically, the gpio-samsung.c has been made by their merging
      and removing duplicated definitions.
      
      Note: gpio-samsung.c includes some SoC dependent codes and it
      will be replaced next time.
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      [kgene.kim@samsung.com: squash the removing and adding patches]
      [kgene.kim@samsung.com: fixes bug during to register of gpio_chips]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      1b39d5f2